Skip to content

Commit

Permalink
Remove some (but not all) unused tables using migration [#181, #166]
Browse files Browse the repository at this point in the history
  • Loading branch information
jesjos committed Jun 5, 2012
1 parent 49fa732 commit cdf4180
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions db/migrate/20120605180148_remove_unused_tables.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
class RemoveUnusedTables < ActiveRecord::Migration
def up
drop_table :cloners
drop_table :committerships
drop_table :group_has_users
drop_table :groups
drop_table :memberships
drop_table :merge_requests
drop_table :merge_requests_statuses
drop_table :merge_requests_versions
drop_table :projects
drop_table :registered_course_has_lab_groups
drop_table :sites
drop_table :ssh_keys
drop_table :taggings
drop_table :tags
end

def down
end
end

0 comments on commit cdf4180

Please sign in to comment.