diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/027_create_wikis.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/027_create_wikis.rb b/db/migrate/027_create_wikis.rb index ed6784296..284eee2e2 100644 --- a/db/migrate/027_create_wikis.rb +++ b/db/migrate/027_create_wikis.rb @@ -4,7 +4,7 @@ class CreateWikis < ActiveRecord::Migration t.column :project_id, :integer, :null => false t.column :start_page, :string, :limit => 255, :null => false t.column :status, :integer, :default => 1, :null => false - end + end add_index :wikis, :project_id, :name => :wikis_project_id end |