diff options
-rw-r--r-- | Gemfile.lock | 2 | ||||
-rw-r--r-- | db/migrate/20221210175109_widen_user_id_field.lingo.rb | 6 | ||||
-rw-r--r-- | db/schema.rb | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/Gemfile.lock b/Gemfile.lock index 6367d9e..eebe655 100644 --- a/Gemfile.lock +++ b/Gemfile.lock | |||
@@ -1,6 +1,6 @@ | |||
1 | GIT | 1 | GIT |
2 | remote: https://github.com/hatkirby/lingo.git | 2 | remote: https://github.com/hatkirby/lingo.git |
3 | revision: 787745956f13bb63c596ed80a53b386708b56508 | 3 | revision: d60d1ca4c2c602b674ab9559a4a29907220d9c45 |
4 | branch: main | 4 | branch: main |
5 | glob: rails/*.gemspec | 5 | glob: rails/*.gemspec |
6 | specs: | 6 | specs: |
diff --git a/db/migrate/20221210175109_widen_user_id_field.lingo.rb b/db/migrate/20221210175109_widen_user_id_field.lingo.rb new file mode 100644 index 0000000..7ccb934 --- /dev/null +++ b/db/migrate/20221210175109_widen_user_id_field.lingo.rb | |||
@@ -0,0 +1,6 @@ | |||
1 | # This migration comes from lingo (originally 20221210174554) | ||
2 | class WidenUserIdField < ActiveRecord::Migration[7.0] | ||
3 | def change | ||
4 | change_column :lingo_scores, :user_id, :integer, limit: 8 | ||
5 | end | ||
6 | end | ||
diff --git a/db/schema.rb b/db/schema.rb index 0b14b24..5b61408 100644 --- a/db/schema.rb +++ b/db/schema.rb | |||
@@ -10,7 +10,7 @@ | |||
10 | # | 10 | # |
11 | # It's strongly recommended that you check this file into your version control system. | 11 | # It's strongly recommended that you check this file into your version control system. |
12 | 12 | ||
13 | ActiveRecord::Schema[7.0].define(version: 2022_12_10_170549) do | 13 | ActiveRecord::Schema[7.0].define(version: 2022_12_10_175109) do |
14 | create_table "audits", force: :cascade do |t| | 14 | create_table "audits", force: :cascade do |t| |
15 | t.integer "auditable_id" | 15 | t.integer "auditable_id" |
16 | t.string "auditable_type" | 16 | t.string "auditable_type" |
@@ -69,7 +69,7 @@ ActiveRecord::Schema[7.0].define(version: 2022_12_10_170549) do | |||
69 | end | 69 | end |
70 | 70 | ||
71 | create_table "lingo_scores", force: :cascade do |t| | 71 | create_table "lingo_scores", force: :cascade do |t| |
72 | t.integer "user_id" | 72 | t.integer "user_id", limit: 8 |
73 | t.string "username" | 73 | t.string "username" |
74 | t.string "avatar_url" | 74 | t.string "avatar_url" |
75 | t.integer "score" | 75 | t.integer "score" |