11 lines
226 B
Ruby
11 lines
226 B
Ruby
|
class CreateTotals < ActiveRecord::Migration[7.0]
|
||
|
def change
|
||
|
create_table :totals do |t|
|
||
|
t.integer :count, null: false, default: 0
|
||
|
t.text :name, index: true, null: false
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|