From 5588254d14acceb41165a3c2e41f8a9c7f751ed9 Mon Sep 17 00:00:00 2001 From: Jack Danger Date: Mon, 1 Jan 2024 21:03:12 -0800 Subject: [PATCH] Attempting to avoid table force-creation --- spec/support/schema.rb | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/spec/support/schema.rb b/spec/support/schema.rb index 0254311..1e1b347 100644 --- a/spec/support/schema.rb +++ b/spec/support/schema.rb @@ -1,5 +1,5 @@ ActiveRecord::Schema.define(version: 1) do - create_table :ants, force: true do |t| + create_table :ants do |t| t.column :name, :string t.column :deleted_at, :datetime t.references :hole @@ -7,27 +7,27 @@ t.string :any_hole_type end - create_table :muskrats, force: true do |t| + create_table :muskrats do |t| t.column :name, :string t.column :deleted_at, :datetime t.references :hole end - create_table :beds, force: true do |t| + create_table :beds do |t| t.column :name, :string end - create_table :kitties, force: true do |t| + create_table :kitties do |t| t.column :name, :string t.references :bed end - create_table :beds_kitties, force: true do |t| + create_table :beds_kitties do |t| t.references :kitty t.references :bed end - create_table :holes, force: true do |t| + create_table :holes do |t| t.integer :number t.text :options t.text :properties @@ -36,59 +36,59 @@ t.datetime :deleted_at end - create_table :moles, force: true do |t| + create_table :moles do |t| t.string :name t.references :hole end - create_table :locations, force: true do |t| + create_table :locations do |t| t.string :name t.references :hole t.integer :parent_id t.datetime :deleted_at end - create_table :comments, force: true do |t| + create_table :comments do |t| t.string :text t.references :hole t.datetime :deleted_at end - create_table :difficulties, force: true do |t| + create_table :difficulties do |t| t.string :name t.references :hole t.datetime :deleted_at end - create_table :unused_models, force: true do |t| + create_table :unused_models do |t| t.string :name t.references :hole t.datetime :deleted_at end - create_table :holes_meerkats, force: true do |t| + create_table :holes_meerkats do |t| t.references :hole t.references :meerkat end - create_table :meerkats, force: true do |t| + create_table :meerkats do |t| t.string :name end - create_table :dirts, force: true do |t| + create_table :dirts do |t| t.string :color t.datetime :deleted_at end - create_table :earthworms, force: true do |t| + create_table :earthworms do |t| t.references :dirt end - create_table :houses, force: true do |t| + create_table :houses do |t| t.datetime :deleted_at end - create_table :rooms, force: true do |t| + create_table :rooms do |t| t.references :house t.datetime :deleted_at end