comparison db/migrate/029_create_wiki_contents.rb @ 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 513646585e45
children
comparison
equal deleted inserted replaced
908:c6c2cbd0afee 909:cbb26bc654de
7 t.column :comments, :string, :limit => 255, :default => "" 7 t.column :comments, :string, :limit => 255, :default => ""
8 t.column :updated_on, :datetime, :null => false 8 t.column :updated_on, :datetime, :null => false
9 t.column :version, :integer, :null => false 9 t.column :version, :integer, :null => false
10 end 10 end
11 add_index :wiki_contents, :page_id, :name => :wiki_contents_page_id 11 add_index :wiki_contents, :page_id, :name => :wiki_contents_page_id
12 12
13 create_table :wiki_content_versions do |t| 13 create_table :wiki_content_versions do |t|
14 t.column :wiki_content_id, :integer, :null => false 14 t.column :wiki_content_id, :integer, :null => false
15 t.column :page_id, :integer, :null => false 15 t.column :page_id, :integer, :null => false
16 t.column :author_id, :integer 16 t.column :author_id, :integer
17 t.column :data, :binary 17 t.column :data, :binary