Class: CreateCountryCodes

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/generators/templates/create_country_codes.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



2
3
4
5
6
7
8
9
10
# File 'lib/generators/templates/create_country_codes.rb', line 2

def change
  create_table :country_codes do |t|
    t.string :country
    t.string :country_code
    t.string :currency
    t.string :currency_code
    t.timestamps
  end
end