Fix expired announcements being re-published (#12964)

This commit is contained in:
Eugen Rochko 2020-01-26 22:43:18 +01:00 committed by GitHub
parent 2f8c3c17ee
commit 401f32f9ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 9 deletions

View file

@ -0,0 +1,5 @@
class AddPublishedAtToAnnouncements < ActiveRecord::Migration[5.2]
def change
add_column :announcements, :published_at, :datetime
end
end