フロントエンドプレイアブル
This commit is contained in:
13
db/migrate/20260206132822_create_turns.rb
Normal file
13
db/migrate/20260206132822_create_turns.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
class CreateTurns < ActiveRecord::Migration[8.1]
|
||||
def change
|
||||
create_table :turns do |t|
|
||||
t.integer :number
|
||||
t.string :phase
|
||||
t.json :game_stat
|
||||
t.text :svg_date
|
||||
t.references :game, null: false, foreign_key: true
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user