Sha256: 2a4ddb058026da9723053fd1f535d38c8dae827621b8165f3ecc0e4de8c10a09

Contents?: true

Size: 305 Bytes

Versions: 6

Compression:

Stored size: 305 Bytes

Contents

class CreateInvoiceBarCurrencies < ActiveRecord::Migration
  def change
    create_table :invoice_bar_currencies do |t|
      t.string :name, :null => false, :unique => true
      t.string :symbol, :null => false, :unique => true
      t.integer :priority, :null => false, :default => 1
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
invoice_bar-0.0.6 db/migrate/20121012142454_create_invoice_bar_currencies.rb
invoice_bar-0.0.5 db/migrate/20121012142454_create_invoice_bar_currencies.rb
invoice_bar-0.0.4 db/migrate/20121012142454_create_invoice_bar_currencies.rb
invoice_bar-0.0.3 db/migrate/20121012142454_create_invoice_bar_currencies.rb
invoice_bar-0.0.2 db/migrate/20121012142454_create_invoice_bar_currencies.rb
invoice_bar-0.0.1 db/migrate/20121012142454_create_invoice_bar_currencies.rb