ref: master
plugins/currency/db/migrate/20130612143434_create_currency_plugin_currencies.rb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
class CreateCurrencyPluginCurrencies < ActiveRecord::Migration def self.up create_table :currency_plugin_currencies do |t| t.integer :environment_id t.string :symbol t.string :name t.text :description t.timestamps end end def self.down drop_table :currency_plugin_currencies end end |