diff options
| author | Kir | 2011-11-11 18:51:52 +0400 |
|---|---|---|
| committer | Kir | 2011-11-11 18:51:52 +0400 |
| commit | 61bd4dd67fdaee93af6994d539b86d46cd1c45f1 (patch) | |
| tree | 6e8a9d85aa372a98f32083a3968a9f9aefe2b3a3 /lib | |
| parent | a9c97ba576f190c18544919af477753c419036cf (diff) | |
| download | inboxes-61bd4dd67fdaee93af6994d539b86d46cd1c45f1.tar.bz2 | |
Model updated, readme fixes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/generators/inboxes/templates/install.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/generators/inboxes/templates/install.rb b/lib/generators/inboxes/templates/install.rb index ff83b40..91fded7 100644 --- a/lib/generators/inboxes/templates/install.rb +++ b/lib/generators/inboxes/templates/install.rb @@ -1,11 +1,5 @@ class InstallInboxes < ActiveRecord::Migration def self.up - create_table :discussion_views do |t| - t.references :user - t.references :discussion - t.timestamps - end - create_table :discussions do |t| t.integer :messages_count, :default => 0 # counter cache t.timestamps @@ -30,7 +24,6 @@ class InstallInboxes < ActiveRecord::Migration def self.down drop_table :speakers drop_table :discussions - drop_table :discussion_views drop_table :messages end end
\ No newline at end of file |
