Sha256: 7b2ad55842722edba3ce633b73df963a8248691375ffa31a2d1050b2229f5b54
Contents?: true
Size: 646 Bytes
Versions: 78
Compression:
Stored size: 646 Bytes
Contents
# frozen_string_literal: true class AddContentBlocks < ActiveRecord::Migration[5.2] def change create_table :decidim_content_blocks do |t| t.integer :decidim_organization_id, null: false, index: true t.string :manifest_name, null: false, index: true t.string :scope, null: false, index: true t.jsonb :options t.datetime :published_at, index: true t.integer :weight t.references end add_index( :decidim_content_blocks, [:decidim_organization_id, :scope, :manifest_name], unique: true, name: "idx_dcdm_content_blocks_uniq_org_id_scope_manifest_name" ) end end
Version data entries
78 entries across 78 versions & 1 rubygems