Sha256: 6a03fbadb7abda2d931b9912176e04f9163d42d806a980ea8a21f1c26b1054cc
Contents?: true
Size: 380 Bytes
Versions: 11
Compression:
Stored size: 380 Bytes
Contents
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
11 entries across 11 versions & 1 rubygems