diff .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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.svn/pristine/d9/d9f90dc7d55a0df3da8624b05aded4dcb90a0add.svn-base	Fri Feb 24 19:09:32 2012 +0000
@@ -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