remove teams from databse

This commit is contained in:
yqbk
2016-07-04 16:36:23 +02:00
parent b0d468c0e0
commit 19f214caf1
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,7 @@
class DropTeams < ActiveRecord::Migration
def change
remove_column :exercises, :team_id, :integer
drop_table :teams
drop_table :internal_users_teams
end
end

View File

@ -0,0 +1,7 @@
class RemoveTeams < ActiveRecord::Migration
def change
remove_column :exercises, :team_id, :integer
drop_table :teams
drop_table :internal_users_teams
end
end