summary refs log tree commit diff stats
path: root/rails/db/migrate
diff options
context:
space:
mode:
Diffstat (limited to 'rails/db/migrate')
-rw-r--r--rails/db/migrate/20221210011146_create_lingo_scores.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/rails/db/migrate/20221210011146_create_lingo_scores.rb b/rails/db/migrate/20221210011146_create_lingo_scores.rb new file mode 100644 index 0000000..7012a4a --- /dev/null +++ b/rails/db/migrate/20221210011146_create_lingo_scores.rb
@@ -0,0 +1,12 @@
1class CreateLingoScores < ActiveRecord::Migration[7.0]
2 def change
3 create_table :lingo_scores do |t|
4 t.integer :user_id
5 t.string :username
6 t.string :avatar_url
7 t.integer :score
8
9 t.timestamps
10 end
11 end
12end