cirandas.net

ref: master

plugins/exchange/db/migrate/20120111174241_create_exchange_plugin_exchanges.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
class CreateExchangePluginExchanges < ActiveRecord::Migration
  def self.up
    create_table :exchange_plugin_exchanges do |t|
      t.string :slug
      t.string :state
      t.string :description

      t.timestamps
    end
  end

  def self.down
    drop_table :exchange_plugin_exchanges
  end
end