Sha256: cb4f2fb98a8a85f32dd2338ee3e5dd12c6ed6234cbd09eac88e5834141fb3bff

Contents?: true

Size: 555 Bytes

Versions: 3

Compression:

Stored size: 555 Bytes

Contents

class CreateSuningPayNotices < ActiveRecord::Migration
  def self.up
    create_table :geee_pay_notices do |t|
      t.string  :version_id
      t.string :trans_type
      t.string :asyn_notify_url
      t.string :syn_notify_url
      t.string :mer_id
      t.string :order_amount
      t.string :prd_ord_no
      t.string :order_status
      t.string :pay_id
      t.string :pay_time
      t.string :sign_type
      t.string :mer_param
      t.string :sign_data
      t.timestamps
    end
  end

  def self.down
    drop_table :geee_pay_notices
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
geee_pay-0.1.2 lib/generators/geee_pay/templates/migration.rb
geee_pay-0.1.1 lib/generators/geee_pay/templates/migration.rb
geee_pay-0.1.0 lib/generators/geee_pay/templates/migration.rb