Sha256: 1c48c58549a94c54e8b124dd02ed782f0000e2ab116a707fce9125ed324d4c84
Contents?: true
Size: 411 Bytes
Versions: 134
Compression:
Stored size: 411 Bytes
Contents
# frozen_string_literal: true class CreateDecidimAuthorizations < ActiveRecord::Migration[5.0] def change create_table :decidim_authorizations do |t| t.string :name, null: false t.jsonb :metadata t.references :decidim_user, null: false, foreign_key: true, index: true t.timestamps end add_index :decidim_authorizations, [:decidim_user_id, :name], unique: true end end
Version data entries
134 entries across 134 versions & 2 rubygems