From 0944c5135b805501dfd4225b3c9411e70cf1fbe0 Mon Sep 17 00:00:00 2001 From: Washington Botelho Date: Wed, 18 May 2022 10:11:50 -0300 Subject: [PATCH] lint --- spec/support/db/migrate/create_rating_table.rb | 4 ++-- spec/support/db/migrate/create_review_ratings_table.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/support/db/migrate/create_rating_table.rb b/spec/support/db/migrate/create_rating_table.rb index 2294724..293ab06 100644 --- a/spec/support/db/migrate/create_rating_table.rb +++ b/spec/support/db/migrate/create_rating_table.rb @@ -5,8 +5,8 @@ class CreateRatingTable < ActiveRecord::Migration[7.0] create_table :rating_ratings do |t| t.decimal :average, default: 0, mull: false, precision: 25, scale: 16 t.decimal :estimate, default: 0, mull: false, precision: 25, scale: 16 - t.bigint :sum, default: 0, mull: false - t.bigint :total, default: 0, mull: false + t.bigint :sum, default: 0, mull: false + t.bigint :total, default: 0, mull: false t.references :resource, index: true, null: false, polymorphic: true t.references :scopeable, index: true, null: true, polymorphic: true diff --git a/spec/support/db/migrate/create_review_ratings_table.rb b/spec/support/db/migrate/create_review_ratings_table.rb index eb24b43..86bd599 100644 --- a/spec/support/db/migrate/create_review_ratings_table.rb +++ b/spec/support/db/migrate/create_review_ratings_table.rb @@ -5,8 +5,8 @@ class CreateReviewRatingsTable < ActiveRecord::Migration[7.0] create_table :review_ratings do |t| t.decimal :average, default: 0, mull: false, precision: 25, scale: 16 t.decimal :estimate, default: 0, mull: false, precision: 25, scale: 16 - t.bigint :sum, default: 0, mull: false - t.bigint :total, default: 0, mull: false + t.bigint :sum, default: 0, mull: false + t.bigint :total, default: 0, mull: false t.references :resource, index: true, null: false, polymorphic: true t.references :scopeable, index: true, null: true, polymorphic: true