Mercurial > hg > soundsoftware-site
view .svn/pristine/02/0235738b45d2757cc6462ce5ba2c1e87548fc84e.svn-base @ 1517:dffacf8a6908 redmine-2.5
Update to Redmine SVN revision 13367 on 2.5-stable branch
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 09:29:00 +0100 |
parents | 261b3d9a4903 |
children |
line wrap: on
line source
class CreateQueriesRoles < ActiveRecord::Migration def self.up create_table :queries_roles, :id => false do |t| t.column :query_id, :integer, :null => false t.column :role_id, :integer, :null => false end add_index :queries_roles, [:query_id, :role_id], :unique => true, :name => :queries_roles_ids end def self.down drop_table :queries_roles end end