Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
14
db/migrate/027_create_wikis.rb
Normal file
14
db/migrate/027_create_wikis.rb
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue