From d851ee1375aaaf2f3add1c48d75a0667b1b2bff5 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 14 Nov 2017 15:17:05 +0100 Subject: schema_spec: Remove commented `grep` lines These were my initial tests for how to do the verification of `bigint` types. Now that the code has been ported to Ruby, we can get rid of these lines. Refs #4951 --- spec/db/schema_spec.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spec/db/schema_spec.rb b/spec/db/schema_spec.rb index 8c5492cd7..8111988ee 100644 --- a/spec/db/schema_spec.rb +++ b/spec/db/schema_spec.rb @@ -1,10 +1,5 @@ RSpec.describe ActiveRecord::Schema do it "uses type `bigint` for primary and foreign keys" do -# grep -e 'create_table.*id: :bigserial' db/schema.rb | grep -v 'id: :bigserial' -# grep -e 'create_table.+id: :bigserial' db/schema.rb | grep -v 'id: :bigserial' -# grep -e 't\.integer *"\w*_id"' db/schema.rb | grep -v -e 'limit: 8' -# grep -e 't\.integer +"\w+_id"' db/schema.rb | grep -v -e 'limit: 8' - non_bigint_primary_keys = [] non_bigint_foreign_keys = [] -- cgit v1.2.3