Sha256: fd2881019337f7c535286e7711b1a7fad0c3fd28232174d96ce2deb5689d511c
Contents?: true
Size: 581 Bytes
Versions: 6
Compression:
Stored size: 581 Bytes
Contents
class CreateTimestamp < ActiveRecord::Migration<%= migration_version %> def change create_table :glueby_timestamps<%= table_options %> do |t| t.string :txid t.integer :status, null: false, default: 0 t.string :content_hash t.string :prefix t.string :wallet_id t.integer :timestamp_type, null: false, default: 0 t.string :p2c_address t.string :payment_base t.bigint :prev_id t.boolean :latest, null: false, default: true end add_index :glueby_timestamps, [:prev_id], unique: true end end
Version data entries
6 entries across 6 versions & 1 rubygems