annotate .svn/pristine/d7/d70cd74c0ebc78d926978f72403660b2b7a42fad.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 CreateBoards < ActiveRecord::Migration
Chris@909 2 def self.up
Chris@909 3 create_table :boards do |t|
Chris@909 4 t.column :project_id, :integer, :null => false
Chris@909 5 t.column :name, :string, :default => "", :null => false
Chris@909 6 t.column :description, :string
Chris@909 7 t.column :position, :integer, :default => 1
Chris@909 8 t.column :topics_count, :integer, :default => 0, :null => false
Chris@909 9 t.column :messages_count, :integer, :default => 0, :null => false
Chris@909 10 t.column :last_message_id, :integer
Chris@909 11 end
Chris@909 12 add_index :boards, [:project_id], :name => :boards_project_id
Chris@909 13 end
Chris@909 14
Chris@909 15 def self.down
Chris@909 16 drop_table :boards
Chris@909 17 end
Chris@909 18 end