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
-rw-r--r--rails/db/migrate/20221210174554_widen_user_id_field.rb5
2 files changed, 0 insertions, 17 deletions
diff --git a/rails/db/migrate/20221210011146_create_lingo_scores.rb b/rails/db/migrate/20221210011146_create_lingo_scores.rb deleted file mode 100644 index 7012a4a..0000000 --- a/rails/db/migrate/20221210011146_create_lingo_scores.rb +++ /dev/null
@@ -1,12 +0,0 @@
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
diff --git a/rails/db/migrate/20221210174554_widen_user_id_field.rb b/rails/db/migrate/20221210174554_widen_user_id_field.rb deleted file mode 100644 index 3291527..0000000 --- a/rails/db/migrate/20221210174554_widen_user_id_field.rb +++ /dev/null
@@ -1,5 +0,0 @@
1class WidenUserIdField < ActiveRecord::Migration[7.0]
2 def change
3 change_column :lingo_scores, :user_id, :integer, limit: 8
4 end
5end