summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-03-05 17:17:49 -0500
committerRobert Speicher <rspeicher@gmail.com>2016-03-05 18:12:17 -0500
commit836d5930332797192094ce4a3c8083e96f7e8c53 (patch)
treec747507b44acc831105773a6560bd6e3694a93bb /db/migrate
parent28bee175dbdba8bb0ca04887d6f8d5c4d727a0bd (diff)
downloadgitlab-ce-836d5930332797192094ce4a3c8083e96f7e8c53.tar.gz
Remove `Snippet#expires_at`rs-snippets-dont-expire
This was removed from the interface in https://github.com/gitlabhq/gitlabhq/pull/6027 but its implementation lingered around for two years.
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20160305220806_remove_expires_at_from_snippets.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20160305220806_remove_expires_at_from_snippets.rb b/db/migrate/20160305220806_remove_expires_at_from_snippets.rb
new file mode 100644
index 00000000000..fc12b5b09e6
--- /dev/null
+++ b/db/migrate/20160305220806_remove_expires_at_from_snippets.rb
@@ -0,0 +1,5 @@
+class RemoveExpiresAtFromSnippets < ActiveRecord::Migration
+ def change
+ remove_column :snippets, :expires_at, :datetime
+ end
+end