diff --git a/db/migrate/20251008044109_create_parks.rb b/db/migrate/20251008044109_create_parks.rb index 6da2371..dd07cb3 100644 --- a/db/migrate/20251008044109_create_parks.rb +++ b/db/migrate/20251008044109_create_parks.rb @@ -3,7 +3,6 @@ class CreateParks < ActiveRecord::Migration[8.0] create_table :parks do |t| t.string :code, null: false t.string :name, null: false - t.datetime :established_date, null: false t.text :states, null: false t.json :properties, null: false, default: {} diff --git a/db/schema.rb b/db/schema.rb index 5cc40ca..a9ef1df 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -14,7 +14,6 @@ ActiveRecord::Schema[8.0].define(version: 2025_10_08_044109) do create_table "parks", force: :cascade do |t| t.string "code", null: false t.string "name", null: false - t.datetime "established_date", null: false t.text "states", null: false t.json "properties", default: {}, null: false t.datetime "created_at", null: false diff --git a/test/fixtures/parks.yml b/test/fixtures/parks.yml index 71c284d..3f21fbf 100644 --- a/test/fixtures/parks.yml +++ b/test/fixtures/parks.yml @@ -3,13 +3,11 @@ one: code: crla name: Crater Lake National Park - established_date: 2025-10-07 21:41:09 states: OR properties: two: code: olym name: Olympic National Park - established_date: 2025-10-07 21:41:09 states: WA - properties: + properties: