Sha256: b57378838053ee8b92a2b73c3ecc531c4c489de17f9de1da868b1e235566c060
Contents?: true
Size: 716 Bytes
Versions: 1
Compression:
Stored size: 716 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.integer :block_height, index: true t.integer :block_time, index: true t.string :p2c_address t.string :payment_base t.bigint :prev_id t.boolean :latest, null: false, default: true t.boolean :hex, null: false, default: false end add_index :glueby_timestamps, [:prev_id], unique: true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
glueby-1.2.3 | lib/generators/glueby/contract/templates/timestamp_table.rb.erb |