Added expires_at to Status

• Added:
- expires_at key to Status
This commit is contained in:
mgabdev
2020-07-24 18:49:00 -05:00
parent 13af58da7a
commit 86c1b3c75d
2 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
class AddExpiresAtToStatus < ActiveRecord::Migration[5.2]
def change
add_column :statuses, :expires_at, :datetime
add_index :statuses, :expires_at
end
end