From 0380a97230023a78ad08b738c4520e901485ed63 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 10 Dec 2022 09:29:30 -0500 Subject: Added Rails engine for scoreboard refs #13 --- rails/db/migrate/20221210011146_create_lingo_scores.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 rails/db/migrate/20221210011146_create_lingo_scores.rb (limited to 'rails/db') 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 @@ +class CreateLingoScores < ActiveRecord::Migration[7.0] + def change + create_table :lingo_scores do |t| + t.integer :user_id + t.string :username + t.string :avatar_url + t.integer :score + + t.timestamps + end + end +end -- cgit 1.4.1