diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-10 09:29:30 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-10 09:29:30 -0500 |
commit | 0380a97230023a78ad08b738c4520e901485ed63 (patch) | |
tree | 2f3b4e91453962fd5bb36cf652c808cb7f41c3a7 /rails/db | |
parent | 6af7b09fa551c6cc980bb54fefd1db88c904654f (diff) | |
download | lingo-0380a97230023a78ad08b738c4520e901485ed63.tar.gz lingo-0380a97230023a78ad08b738c4520e901485ed63.tar.bz2 lingo-0380a97230023a78ad08b738c4520e901485ed63.zip |
Added Rails engine for scoreboard
refs #13
Diffstat (limited to 'rails/db')
-rw-r--r-- | rails/db/migrate/20221210011146_create_lingo_scores.rb | 12 |
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 @@ | |||
1 | class 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 | ||
12 | end | ||