diff options
author | Zeger-Jan van de Weg <zegerjan@gitlab.com> | 2016-02-26 11:55:43 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <zegerjan@gitlab.com> | 2016-03-19 23:23:03 +0300 |
commit | 212e83bab3f1f9055f1321c3e934b4f4659250bf (patch) | |
tree | f3b67cf54ba43ca7d008c470beadfd12df3cfbb2 /db/migrate/20160225101956_add_delete_at_to_merge_requests.rb | |
parent | 3f22a92f4a561543c2249786b695d0c65120455b (diff) |
Soft delete issuables
Diffstat (limited to 'db/migrate/20160225101956_add_delete_at_to_merge_requests.rb')
-rw-r--r-- | db/migrate/20160225101956_add_delete_at_to_merge_requests.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20160225101956_add_delete_at_to_merge_requests.rb b/db/migrate/20160225101956_add_delete_at_to_merge_requests.rb new file mode 100644 index 00000000000..9d09105f17d --- /dev/null +++ b/db/migrate/20160225101956_add_delete_at_to_merge_requests.rb @@ -0,0 +1,6 @@ +class AddDeleteAtToMergeRequests < ActiveRecord::Migration + def change + add_column :merge_requests, :deleted_at, :datetime + add_index :merge_requests, :deleted_at + end +end |