Add card_id and unread_count to notifications

This commit is contained in:
Stanko K.R.
2026-02-12 08:07:51 +01:00
parent 37d7f5c569
commit c84d783b2a
3 changed files with 10 additions and 0 deletions
@@ -0,0 +1,6 @@
class AddCardIdToNotifications < ActiveRecord::Migration[8.2]
def change
add_column :notifications, :card_id, :uuid
add_column :notifications, :unread_count, :integer, null: false, default: 0
end
end