summaryrefslogtreecommitdiff
path: root/db/migrate/20130821090530_remove_deprecated_tables.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-08-21 12:08:10 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-08-21 12:08:10 +0300
commit3b0d7a30718a26b019a14a9e5c0b61f3c3fee58d (patch)
tree0cc00243a0172260beaf511a39c00309ba3282f3 /db/migrate/20130821090530_remove_deprecated_tables.rb
parented3d31d5b2a3b4384273689f92dd39b10244dd37 (diff)
downloadgitlab-ce-3b0d7a30718a26b019a14a9e5c0b61f3c3fee58d.tar.gz
Drop deprecated tables
Diffstat (limited to 'db/migrate/20130821090530_remove_deprecated_tables.rb')
-rw-r--r--db/migrate/20130821090530_remove_deprecated_tables.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20130821090530_remove_deprecated_tables.rb b/db/migrate/20130821090530_remove_deprecated_tables.rb
new file mode 100644
index 00000000000..539c0617eeb
--- /dev/null
+++ b/db/migrate/20130821090530_remove_deprecated_tables.rb
@@ -0,0 +1,11 @@
+class RemoveDeprecatedTables < ActiveRecord::Migration
+ def up
+ drop_table :user_teams
+ drop_table :user_team_project_relationships
+ drop_table :user_team_user_relationships
+ end
+
+ def down
+ raise 'No rollback for this migration'
+ end
+end