Drop states column

This commit is contained in:
2025-10-08 08:14:14 -07:00
parent 513f1334fb
commit 7bf4073bd2
5 changed files with 10 additions and 8 deletions

View File

@@ -0,0 +1,5 @@
class DropParkStates < ActiveRecord::Migration[8.0]
def change
remove_column :parks, :states, :text
end
end

3
db/schema.rb generated
View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[8.0].define(version: 2025_10_08_150542) do
ActiveRecord::Schema[8.0].define(version: 2025_10_08_151039) do
create_table "alerts", force: :cascade do |t|
t.string "category", null: false
t.text "description"
@@ -28,7 +28,6 @@ ActiveRecord::Schema[8.0].define(version: 2025_10_08_150542) do
create_table "parks", force: :cascade do |t|
t.string "code", null: false
t.string "name", null: false
t.text "states", null: false
t.json "properties", default: {}, null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false