diff --git a/spec/support/db/migrate/add_comment_on_rating_rates_table.rb b/spec/support/db/migrate/add_comment_on_rating_rates_table.rb index e53c402..5e701df 100644 --- a/spec/support/db/migrate/add_comment_on_rating_rates_table.rb +++ b/spec/support/db/migrate/add_comment_on_rating_rates_table.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class AddCommentOnRatingRatesTable < ActiveRecord::Migration[5.0] +class AddCommentOnRatingRatesTable < ActiveRecord::Migration[7.0] def change add_column :rating_rates, :comment, :text add_column :reviews, :comment, :text diff --git a/spec/support/db/migrate/add_extra_fields_on_rating_rates_table.rb b/spec/support/db/migrate/add_extra_fields_on_rating_rates_table.rb index faebef2..34f58a6 100644 --- a/spec/support/db/migrate/add_extra_fields_on_rating_rates_table.rb +++ b/spec/support/db/migrate/add_extra_fields_on_rating_rates_table.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class AddExtraScopesOnRatingRatesTable < ActiveRecord::Migration[5.0] +class AddExtraScopesOnRatingRatesTable < ActiveRecord::Migration[7.0] def change add_column :rating_rates, :scope_1, :string add_column :rating_rates, :scope_2, :string diff --git a/spec/support/db/migrate/create_articles_table.rb b/spec/support/db/migrate/create_articles_table.rb index 96fa9ae..257bc28 100644 --- a/spec/support/db/migrate/create_articles_table.rb +++ b/spec/support/db/migrate/create_articles_table.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class CreateArticlesTable < ActiveRecord::Migration[5.0] +class CreateArticlesTable < ActiveRecord::Migration[7.0] def change create_table :articles do |t| t.string :name, null: false diff --git a/spec/support/db/migrate/create_authors_table.rb b/spec/support/db/migrate/create_authors_table.rb index b6c44db..743c025 100644 --- a/spec/support/db/migrate/create_authors_table.rb +++ b/spec/support/db/migrate/create_authors_table.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class CreateAuthorsTable < ActiveRecord::Migration[5.0] +class CreateAuthorsTable < ActiveRecord::Migration[7.0] def change create_table :authors do |t| t.string :name, null: false diff --git a/spec/support/db/migrate/create_categories_table.rb b/spec/support/db/migrate/create_categories_table.rb index add2e9f..60e92b1 100644 --- a/spec/support/db/migrate/create_categories_table.rb +++ b/spec/support/db/migrate/create_categories_table.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class CreateCategoriesTable < ActiveRecord::Migration[5.0] +class CreateCategoriesTable < ActiveRecord::Migration[7.0] def change create_table :categories do |t| t.string :name, null: false diff --git a/spec/support/db/migrate/create_comments_table.rb b/spec/support/db/migrate/create_comments_table.rb index c333099..018de1b 100644 --- a/spec/support/db/migrate/create_comments_table.rb +++ b/spec/support/db/migrate/create_comments_table.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class CreateCommentsTable < ActiveRecord::Migration[5.0] +class CreateCommentsTable < ActiveRecord::Migration[7.0] def change create_table :comments end diff --git a/spec/support/db/migrate/create_globals_table.rb b/spec/support/db/migrate/create_globals_table.rb index ed022e4..cf553e0 100644 --- a/spec/support/db/migrate/create_globals_table.rb +++ b/spec/support/db/migrate/create_globals_table.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class CreateGlobalsTable < ActiveRecord::Migration[5.0] +class CreateGlobalsTable < ActiveRecord::Migration[7.0] def change create_table :globals do |t| end diff --git a/spec/support/db/migrate/create_rates_table.rb b/spec/support/db/migrate/create_rates_table.rb index 5d3aa99..20a4152 100644 --- a/spec/support/db/migrate/create_rates_table.rb +++ b/spec/support/db/migrate/create_rates_table.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class CreateRateTable < ActiveRecord::Migration[5.0] +class CreateRateTable < ActiveRecord::Migration[7.0] def change create_table :rating_rates do |t| t.decimal :value, default: 0, precision: 25, scale: 16 diff --git a/spec/support/db/migrate/create_rating_table.rb b/spec/support/db/migrate/create_rating_table.rb index 1238ff9..d38fcc3 100644 --- a/spec/support/db/migrate/create_rating_table.rb +++ b/spec/support/db/migrate/create_rating_table.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class CreateRatingTable < ActiveRecord::Migration[5.0] +class CreateRatingTable < ActiveRecord::Migration[7.0] def change create_table :rating_ratings do |t| t.decimal :average, default: 0, mull: false, precision: 25, scale: 16 diff --git a/spec/support/db/migrate/create_review_ratings_table.rb b/spec/support/db/migrate/create_review_ratings_table.rb index a19efdd..575235b 100644 --- a/spec/support/db/migrate/create_review_ratings_table.rb +++ b/spec/support/db/migrate/create_review_ratings_table.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class CreateReviewRatingsTable < ActiveRecord::Migration[5.0] +class CreateReviewRatingsTable < ActiveRecord::Migration[7.0] def change create_table :review_ratings do |t| t.decimal :average, default: 0, mull: false, precision: 25, scale: 16 diff --git a/spec/support/db/migrate/create_reviews_table.rb b/spec/support/db/migrate/create_reviews_table.rb index d0c5d42..b0df943 100644 --- a/spec/support/db/migrate/create_reviews_table.rb +++ b/spec/support/db/migrate/create_reviews_table.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class CreateReviewsTable < ActiveRecord::Migration[5.0] +class CreateReviewsTable < ActiveRecord::Migration[7.0] def change create_table :reviews do |t| t.decimal :value, default: 0, precision: 25, scale: 16 diff --git a/spec/support/db/migrate/create_toys_table.rb b/spec/support/db/migrate/create_toys_table.rb index 2ca3745..43ba592 100644 --- a/spec/support/db/migrate/create_toys_table.rb +++ b/spec/support/db/migrate/create_toys_table.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class CreateToysTable < ActiveRecord::Migration[5.0] +class CreateToysTable < ActiveRecord::Migration[7.0] def change create_table :toys do |t| end