1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-22 22:59:39 +02:00
Maybe/db/migrate/20240411102931_add_last_seen_upgrade_to_user.rb

10 lines
396 B
Ruby
Raw Normal View History

class AddLastSeenUpgradeToUser < ActiveRecord::Migration[7.2]
def change
# Self-hosted users will be prompted to upgrade to the latest commit or release.
add_column :users, :last_prompted_upgrade_commit_sha, :string
# All users will be notified when a new commit or release has successfully been deployed.
add_column :users, :last_alerted_upgrade_commit_sha, :string
end
end