Sha256: 5eaef0d7c70daf5be13dd1deda63db2646ba509e2651823892b233ab994a45d8
Contents?: true
Size: 534 Bytes
Versions: 23
Compression:
Stored size: 534 Bytes
Contents
# frozen_string_literal: true class CreateDecidimAwesomeConfigConstraints < ActiveRecord::Migration[5.2] def change create_table :decidim_awesome_config_constraints do |t| t.jsonb :settings t.references :decidim_awesome_config, null: false, foreign_key: { to_table: :decidim_awesome_config }, index: { name: "decidim_awesome_config_constraints_config" } t.timestamps t.index [:settings, :decidim_awesome_config_id], name: "index_decidim_awesome_settings_awesome_config", unique: true end end end
Version data entries
23 entries across 23 versions & 1 rubygems