1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-07 14:35:23 +02:00
Maybe/db/migrate/20250312152948_create_chats.rb

11 lines
247 B
Ruby
Raw Permalink Normal View History

2025-03-12 12:39:16 -04:00
class CreateChats < ActiveRecord::Migration[7.2]
def change
create_table :chats, id: :uuid do |t|
t.timestamps
t.references :user, null: false, foreign_key: true, type: :uuid
t.string :title, null: false
end
end
end