comparison .svn/pristine/d9/d9f90dc7d55a0df3da8624b05aded4dcb90a0add.svn-base @ 909:cbb26bc654de redmine-1.3

Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author Chris Cannam
date Fri, 24 Feb 2012 19:09:32 +0000
parents
children
comparison
equal deleted inserted replaced
908:c6c2cbd0afee 909:cbb26bc654de
1 class CreateWikis < ActiveRecord::Migration
2 def self.up
3 create_table :wikis do |t|
4 t.column :project_id, :integer, :null => false
5 t.column :start_page, :string, :limit => 255, :null => false
6 t.column :status, :integer, :default => 1, :null => false
7 end
8 add_index :wikis, :project_id, :name => :wikis_project_id
9 end
10
11 def self.down
12 drop_table :wikis
13 end
14 end