Sha256: accab9270f23e03f0994dd6e6e94e3906ba50eb7a3a3e7c35d6cdafc71ca2d40
Contents?: true
Size: 399 Bytes
Versions: 4
Compression:
Stored size: 399 Bytes
Contents
# frozen_string_literal: true class CreateAllowedTokens < ActiveRecord::Migration<%= migration_version %> def change create_table :allowed_tokens do |t| t.string :jti, null: false t.string :aud t.datetime :exp, null: false t.timestamps t.references :<%= @model %>, foreign_key: { on_delete: :cascade }, null: false t.index %i[jti aud] end end end
Version data entries
4 entries across 4 versions & 1 rubygems