Sha256: 2707eac32139179a1be8e20c543bf191b2a7bd8eb089a750837741f67a1c93d7
Contents?: true
Size: 573 Bytes
Versions: 58
Compression:
Stored size: 573 Bytes
Contents
# frozen_string_literal: true class CreateDecidimShareTokens < ActiveRecord::Migration[5.2] def change create_table :decidim_share_tokens do |t| t.references :decidim_organization, null: false, index: true t.references :decidim_user, null: false, index: true t.references :token_for, polymorphic: true, null: false, index: { name: "decidim_share_tokens_token_for" } t.string :token, null: false t.integer :times_used, default: 0 t.datetime :created_at t.datetime :last_used_at t.datetime :expires_at end end end
Version data entries
58 entries across 58 versions & 1 rubygems