annotate .svn/pristine/10/10ba4b3e5a7a93b2f988725561d5c82a7bd53485.svn-base @ 1524:82fac3dcf466 redmine-2.5-integration

Fix failure to interpret Javascript when autocompleting members for project
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 11 Sep 2014 10:24:38 +0100
parents cbb26bc654de
children
rev   line source
Chris@909 1 class CreateComments < ActiveRecord::Migration
Chris@909 2 def self.up
Chris@909 3 create_table :comments do |t|
Chris@909 4 t.column :commented_type, :string, :limit => 30, :default => "", :null => false
Chris@909 5 t.column :commented_id, :integer, :default => 0, :null => false
Chris@909 6 t.column :author_id, :integer, :default => 0, :null => false
Chris@909 7 t.column :comments, :text
Chris@909 8 t.column :created_on, :datetime, :null => false
Chris@909 9 t.column :updated_on, :datetime, :null => false
Chris@909 10 end
Chris@909 11 end
Chris@909 12
Chris@909 13 def self.down
Chris@909 14 drop_table :comments
Chris@909 15 end
Chris@909 16 end