Sha256: d8f7cae37ca0b239a65da903acf8fb386b6f0577f00396f208c0ca0990a8b745
Contents?: true
Size: 457 Bytes
Versions: 90
Compression:
Stored size: 457 Bytes
Contents
# frozen_string_literal: true class CreateDecidimAttachmentCollections < ActiveRecord::Migration[5.1] def change create_table :decidim_attachment_collections do |t| t.jsonb :name, null: false t.jsonb :description, null: false t.integer :weight, null: false, default: 0 t.references :collection_for, polymorphic: true, null: false, index: { name: "decidim_attachment_collections_collection_for_id_and_type" } end end end
Version data entries
90 entries across 90 versions & 1 rubygems