@@ -4,7 +4,7 class CreateWikis < ActiveRecord::Migration | |||||
4 | t.column :project_id, :integer, :null => false |
|
4 | t.column :project_id, :integer, :null => false | |
5 | t.column :start_page, :string, :limit => 255, :null => false |
|
5 | t.column :start_page, :string, :limit => 255, :null => false | |
6 | t.column :status, :integer, :default => 1, :null => false |
|
6 | t.column :status, :integer, :default => 1, :null => false | |
7 |
end |
|
7 | end | |
8 | add_index :wikis, :project_id, :name => :wikis_project_id |
|
8 | add_index :wikis, :project_id, :name => :wikis_project_id | |
9 | end |
|
9 | end | |
10 |
|
10 |
General Comments 0
You need to be logged in to leave comments.
Login now