gitlab-org--gitlab-foss/db/migrate/20160225090018_add_delete_at_to_issues.rb
Zeger-Jan van de Weg 212e83bab3 Soft delete issuables
2016-03-19 21:23:03 +01:00

6 lines
157 B
Ruby

class AddDeleteAtToIssues < ActiveRecord::Migration
def change
add_column :issues, :deleted_at, :datetime
add_index :issues, :deleted_at
end
end