Sha256: ddefd2ddbe13324a701f8a49d5e2eecae2f2fc75e3e4c3fceaa83f923ca3af80

Contents?: true

Size: 425 Bytes

Versions: 12

Compression:

Stored size: 425 Bytes

Contents

class CreateTokenMetadata < ActiveRecord::Migration<%= migration_version %>
  def change
    create_table :glueby_token_metadata<%= table_options %> do |t|
      t.text     :metadata, null: false
      t.string   :color_id, null: false
      t.string   :p2c_address, null: false
      t.string   :payment_base, null: false
      t.timestamps
    end

    add_index :glueby_token_metadata, [:color_id], unique: true
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
glueby-1.4.0 lib/generators/glueby/contract/templates/token_metadata_table.rb.erb
glueby-1.3.0 lib/generators/glueby/contract/templates/token_metadata_table.rb.erb
glueby-1.2.3 lib/generators/glueby/contract/templates/token_metadata_table.rb.erb
glueby-1.2.2 lib/generators/glueby/contract/templates/token_metadata_table.rb.erb
glueby-1.2.1 lib/generators/glueby/contract/templates/token_metadata_table.rb.erb
glueby-1.2.0 lib/generators/glueby/contract/templates/token_metadata_table.rb.erb
glueby-1.2.0.beta.3 lib/generators/glueby/contract/templates/token_metadata_table.rb.erb
glueby-1.2.0.beta.2 lib/generators/glueby/contract/templates/token_metadata_table.rb.erb
glueby-1.2.0.beta.1 lib/generators/glueby/contract/templates/token_metadata_table.rb.erb
glueby-1.1.2 lib/generators/glueby/contract/templates/token_metadata_table.rb.erb
glueby-1.1.1 lib/generators/glueby/contract/templates/token_metadata_table.rb.erb
glueby-1.1.0 lib/generators/glueby/contract/templates/token_metadata_table.rb.erb