Sha256: 6b062764703f0665b40c7ae5ded7b861af2fc82f8523aaabf255861e66ba32a2
Contents?: true
Size: 581 Bytes
Versions: 36
Compression:
Stored size: 581 Bytes
Contents
# frozen_string_literal: true # This migration comes from noid_rails_engine (originally 20160610010003) 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
36 entries across 25 versions & 1 rubygems