12 lines
228 B
Ruby
12 lines
228 B
Ruby
|
|
class CreateClocks < ActiveRecord::Migration[8.1]
|
||
|
|
def change
|
||
|
|
create_table :clocks do |t|
|
||
|
|
t.integer :game_id
|
||
|
|
t.string :name
|
||
|
|
t.integer :value
|
||
|
|
t.integer :max_value
|
||
|
|
t.timestamps
|
||
|
|
end
|
||
|
|
end
|
||
|
|
end
|