Skip to content

Commit

Permalink
Remove remaining homepage_interactive_map module
Browse files Browse the repository at this point in the history
  • Loading branch information
Kagemaru committed Mar 27, 2024
1 parent 9d4a849 commit beb3bd0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
11 changes: 11 additions & 0 deletions db/migrate/20240327215408_revert_homepage_interactive_map.rb
Original file line number Diff line number Diff line change
@@ -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
7 changes: 1 addition & 6 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit beb3bd0

Please sign in to comment.