Sha256: 47e0fc55b076bd658aaa84de0ef96fe5cb35ae92d5f73ca908f96827aec29ceb
Contents?: true
Size: 595 Bytes
Versions: 9
Compression:
Stored size: 595 Bytes
Contents
# frozen_string_literal: true class CreateDecidimNavigationMapsBlueprintAreas < ActiveRecord::Migration[5.2] def change create_table :decidim_navigation_maps_blueprint_areas do |t| t.jsonb :area t.references :decidim_navigation_maps_blueprint, null: false, foreign_key: true, index: { name: "decidim_navigation_maps_constraint_blueprint_id" } t.jsonb :title, default: {} t.jsonb :description, default: {} t.string :area_type t.string :url t.timestamps end remove_column :decidim_navigation_maps_blueprints, :blueprint, :jsonb end end
Version data entries
9 entries across 9 versions & 1 rubygems