diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-03-06 01:17:49 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-03-06 02:12:17 +0300 |
commit | 836d5930332797192094ce4a3c8083e96f7e8c53 (patch) | |
tree | c747507b44acc831105773a6560bd6e3694a93bb /db/migrate/20160305220806_remove_expires_at_from_snippets.rb | |
parent | 28bee175dbdba8bb0ca04887d6f8d5c4d727a0bd (diff) |
Remove `Snippet#expires_at`
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/20160305220806_remove_expires_at_from_snippets.rb')
-rw-r--r-- | db/migrate/20160305220806_remove_expires_at_from_snippets.rb | 5 |
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 |