Prepared for rails 4.
This commit is contained in:
parent
dfec4e5bd5
commit
18defadb71
1 changed files with 5 additions and 5 deletions
|
@ -51,7 +51,7 @@ class CreateNetwork < ActiveRecord::Migration
|
|||
create_table :network_items do |t|
|
||||
t.references :network_category, :null => false
|
||||
t.column :title, :string, :limit => 200, :null => false
|
||||
t.column :body, :string, :limit => 25000, :null => false
|
||||
t.column :body, :string, :limit => 20000, :null => false
|
||||
t.column :updated_by_id, :integer, :null => false
|
||||
t.column :created_by_id, :integer, :null => false
|
||||
t.timestamps
|
||||
|
@ -60,7 +60,7 @@ class CreateNetwork < ActiveRecord::Migration
|
|||
|
||||
create_table :network_item_comments do |t|
|
||||
t.references :network_item, :null => false
|
||||
t.column :body, :string, :limit => 25000, :null => false
|
||||
t.column :body, :string, :limit => 20000, :null => false
|
||||
t.column :updated_by_id, :integer, :null => false
|
||||
t.column :created_by_id, :integer, :null => false
|
||||
t.timestamps
|
||||
|
|
Loading…
Reference in a new issue