mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-07 06:25:19 +02:00
5 lines
175 B
Ruby
5 lines
175 B
Ruby
class UserLatestChat < ActiveRecord::Migration[7.2]
|
|
def change
|
|
add_reference :users, :current_chat, foreign_key: { to_table: :chats }, null: true, type: :uuid
|
|
end
|
|
end
|