comparison db/migrate/029_create_wiki_contents.rb @ 912:5e80956cc792 cannam_integration

Merge from branch "redmine-1.3"
author Chris Cannam
date Mon, 27 Feb 2012 13:53:18 +0000
parents cbb26bc654de
children
comparison
equal deleted inserted replaced
911:487d96eac004 912:5e80956cc792
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