about summary refs log tree commit diff stats
path: root/db/migrate/20231028210722_create_wittle_scores.rb
blob: 9ae6413cf98e78d3aa2c5139664bb19c13a57618 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
class CreateWittleScores < ActiveRecord::Migration[7.1]
  def change
    create_table :wittle_scores do |t|
      t.references :puzzle, null: false, foreign_key: true
      t.string :name
      t.string :ip
      t.integer :seconds_taken

      t.timestamps
    end
  end
end