diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-06 15:10:05 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-06 15:10:05 +0300 |
commit | 8e4625af614b58df97d60031c2b5c72f37f1a692 (patch) | |
tree | 98ea623cfccc5c159013d26388ba551981ab16f9 /db/migrate | |
parent | b7f1cf9f491f6cefdfc5f651f724331f07cfd6f5 (diff) | |
download | gitlab-ce-8e4625af614b58df97d60031c2b5c72f37f1a692.tar.gz |
Remove project_id from keys table
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20130506095501_remove_project_id_from_key.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20130506095501_remove_project_id_from_key.rb b/db/migrate/20130506095501_remove_project_id_from_key.rb new file mode 100644 index 00000000000..77daf5f19ba --- /dev/null +++ b/db/migrate/20130506095501_remove_project_id_from_key.rb @@ -0,0 +1,9 @@ +class RemoveProjectIdFromKey < ActiveRecord::Migration + def up + remove_column :keys, :project_id + end + + def down + add_column :keys, :project_id, :integer + end +end |