Sha256: 7c4f438fa65e2134a36f671582692322809d93427d7443af22359f17c217a0d9

Contents?: true

Size: 365 Bytes

Versions: 20

Compression:

Stored size: 365 Bytes

Contents

# frozen_string_literal: true

# Creates the accounts table
class CreateAccounts < ActiveRecord::Migration[6.1]
  def change
    create_table :accounts do |t|
      t.boolean :tos_agreed, null: false, default: true, index: true
      t.text :public_key, null: false, index: { unique: true }
      t.text :contacts, null: false

      t.timestamps
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
bullion-0.7.3 db/migrate/20210104000000_create_accounts.rb
bullion-0.7.2 db/migrate/20210104000000_create_accounts.rb
bullion-0.7.1 db/migrate/20210104000000_create_accounts.rb
bullion-0.7.0 db/migrate/20210104000000_create_accounts.rb
bullion-0.6.2 db/migrate/20210104000000_create_accounts.rb
bullion-0.6.1 db/migrate/20210104000000_create_accounts.rb
bullion-0.6.0 db/migrate/20210104000000_create_accounts.rb
bullion-0.5.1 db/migrate/20210104000000_create_accounts.rb
bullion-0.5.0 db/migrate/20210104000000_create_accounts.rb
bullion-0.4.3 db/migrate/20210104000000_create_accounts.rb
bullion-0.4.2 db/migrate/20210104000000_create_accounts.rb
bullion-0.4.1 db/migrate/20210104000000_create_accounts.rb
bullion-0.4.0 db/migrate/20210104000000_create_accounts.rb
bullion-0.3.3 db/migrate/20210104000000_create_accounts.rb
bullion-0.3.2 db/migrate/20210104000000_create_accounts.rb
bullion-0.3.1 db/migrate/20210104000000_create_accounts.rb
bullion-0.3.0 db/migrate/20210104000000_create_accounts.rb
bullion-0.2.0 db/migrate/20210104000000_create_accounts.rb
bullion-0.1.3 db/migrate/20210104000000_create_accounts.rb
bullion-0.1.2 db/migrate/20210104000000_create_accounts.rb