summary refs log tree commit diff stats
path: root/rails/db/migrate
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2022-12-10 09:29:30 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2022-12-10 09:29:30 -0500
commit0380a97230023a78ad08b738c4520e901485ed63 (patch)
tree2f3b4e91453962fd5bb36cf652c808cb7f41c3a7 /rails/db/migrate
parent6af7b09fa551c6cc980bb54fefd1db88c904654f (diff)
downloadlingo-0380a97230023a78ad08b738c4520e901485ed63.tar.gz
lingo-0380a97230023a78ad08b738c4520e901485ed63.tar.bz2
lingo-0380a97230023a78ad08b738c4520e901485ed63.zip
Added Rails engine for scoreboard
refs #13
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