diff --git a/db/migrate/20240327215408_revert_homepage_interactive_map.rb b/db/migrate/20240327215408_revert_homepage_interactive_map.rb new file mode 100644 index 00000000..d132bdb5 --- /dev/null +++ b/db/migrate/20240327215408_revert_homepage_interactive_map.rb @@ -0,0 +1,11 @@ +class RevertHomepageInteractiveMap < ActiveRecord::Migration[6.1] + require_relative '20210429220804_add_geo_json_to_scopes.decidim_homepage_interactive_map.rb' + require_relative '20210429220805_add_geolocation_to_participatory_processes.decidim_homepage_interactive_map.rb' + require_relative '20210429220806_add_display_linked_assemblies_to_participatory_processes.decidim_homepage_interactive_map.rb' + + def change + revert AddDisplayLinkedAssembliesToParticipatoryProcesses + revert AddGeolocationToParticipatoryProcesses + revert AddGeoJsonToScopes + end +end diff --git a/db/schema.rb b/db/schema.rb index 2ca5b69f..b2f919bf 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2024_03_27_124213) do +ActiveRecord::Schema.define(version: 2024_03_27_215408) do # These are extensions that must be enabled in order to support this database enable_extension "ltree" @@ -1423,10 +1423,6 @@ t.boolean "show_metrics", default: true t.integer "weight", default: 1, null: false t.integer "follows_count", default: 0, null: false - t.string "address" - t.float "latitude" - t.float "longitude" - t.boolean "display_linked_assemblies", default: false t.bigint "decidim_participatory_process_type_id" t.index ["decidim_area_id"], name: "index_decidim_participatory_processes_on_decidim_area_id" t.index ["decidim_organization_id", "slug"], name: "index_unique_process_slug_and_organization", unique: true @@ -1651,7 +1647,6 @@ t.integer "parent_id" t.string "code", null: false t.integer "part_of", default: [], null: false, array: true - t.jsonb "geojson" t.index ["decidim_organization_id", "code"], name: "index_decidim_scopes_on_decidim_organization_id_and_code", unique: true t.index ["decidim_organization_id"], name: "index_decidim_scopes_on_decidim_organization_id" t.index ["parent_id"], name: "index_decidim_scopes_on_parent_id"