wiki branch merged into trunk
git-svn-id: http://redmine.rubyforge.org/svn/trunk@323 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
class CreateWikis < ActiveRecord::Migration
|
||||
def self.up
|
||||
create_table :wikis do |t|
|
||||
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
|
||||
add_index :wikis, :project_id, :name => :wikis_project_id
|
||||
end
|
||||
|
||||
def self.down
|
||||
drop_table :wikis
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user