aboutsummaryrefslogtreecommitdiffstats
path: root/spec/db
diff options
context:
space:
mode:
authorTeddy Wing2017-11-14 15:17:05 +0100
committerTeddy Wing2017-11-14 15:17:05 +0100
commitd851ee1375aaaf2f3add1c48d75a0667b1b2bff5 (patch)
treeaa3df6843009239e34f8f4d56d494caf7a91b6f0 /spec/db
parenta35a040fb6fbcccf7b9bc23386ea494bb6371c39 (diff)
downloadchouette-core-d851ee1375aaaf2f3add1c48d75a0667b1b2bff5.tar.bz2
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
Diffstat (limited to 'spec/db')
-rw-r--r--spec/db/schema_spec.rb5
1 files changed, 0 insertions, 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 = []