Sha256: 1f2edb5b1a75f91c6bee51ba8d4e90e4f9fd932575a599ea6c8fc22021e0a1b5
Contents?: true
Size: 472 Bytes
Versions: 55
Compression:
Stored size: 472 Bytes
Contents
# frozen_string_literal: true class CreateDecidimTemplates < ActiveRecord::Migration[5.2] def change create_table :decidim_templates_templates do |t| t.integer :decidim_organization_id, null: false, index: { name: "index_decidim_templates_organization" } t.references :templatable, polymorphic: true, index: { name: "index_decidim_templates_templatable" } t.jsonb :name, null: false t.jsonb :description t.timestamps end end end
Version data entries
55 entries across 55 versions & 1 rubygems