foalfetch/db/migrate/20240409044229_create_visit_counts.rb
2024-04-13 18:19:59 -04:00

8 lines
204 B
Ruby

class CreateVisitCounts < ActiveRecord::Migration[7.0]
def change
create_table :visit_counts do |t|
t.date :date, null: false
t.integer :count, null: false, default: 0
end
end
end