diff options
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20231028210722_create_wittle_scores.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20231028210722_create_wittle_scores.rb b/db/migrate/20231028210722_create_wittle_scores.rb index 9ae6413..aa49a13 100644 --- a/db/migrate/20231028210722_create_wittle_scores.rb +++ b/db/migrate/20231028210722_create_wittle_scores.rb | |||
@@ -1,7 +1,7 @@ | |||
1 | class CreateWittleScores < ActiveRecord::Migration[7.1] | 1 | class CreateWittleScores < ActiveRecord::Migration[7.1] |
2 | def change | 2 | def change |
3 | create_table :wittle_scores do |t| | 3 | create_table :wittle_scores do |t| |
4 | t.references :puzzle, null: false, foreign_key: true | 4 | t.references :puzzle, null: false |
5 | t.string :name | 5 | t.string :name |
6 | t.string :ip | 6 | t.string :ip |
7 | t.integer :seconds_taken | 7 | t.integer :seconds_taken |