mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-07 14:35:23 +02:00
11 lines
247 B
Ruby
11 lines
247 B
Ruby
|
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
|