blob: a0aaba153735b5107d8a6ba601be4ab662f2206e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
class CreateRuns < ActiveRecord::Migration[7.1]
def change
create_table :runs do |t|
t.string :title, null: false
t.text :description
t.references :game, null: false, foreign_key: true
t.references :user, null: false, foreign_key: true
t.timestamps
end
end
end
|