##// END OF EJS Templates
Tagging 1.0.2...
Tagging 1.0.2 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/tags/1.0.2@4213 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r320:c514316a2efc
r4099:b5cfe790446f 1.0.2
Show More
027_create_wikis.rb
14 lines | 403 B | text/x-ruby | RubyLexer
/ db / migrate / 027_create_wikis.rb
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