Sha256: 4bab4c1a96f17dd4a2b9de6d8bf594b3bc6d966a84731e19925e48f2c5966762
Contents?: true
Size: 581 Bytes
Versions: 20
Compression:
Stored size: 581 Bytes
Contents
# This migration comes from noid_rails_engine (originally 20160610010003) # frozen_string_literal: true class CreateMinterStates < ActiveRecord::Migration[4.2] def change create_table :minter_states do |t| t.string :namespace, null: false, default: 'default' t.string :template, null: false t.text :counters t.bigint :seq, default: 0 t.binary :random t.timestamps null: false end # Use both model and DB-level constraints for consistency while scaling horizontally add_index :minter_states, :namespace, unique: true end end
Version data entries
20 entries across 20 versions & 1 rubygems