Sha256: bbdd9e24405a418a9ba6be3f4d39cda799790cbc137b476ecb87c89cf608bffb

Contents?: true

Size: 365 Bytes

Versions: 4

Compression:

Stored size: 365 Bytes

Contents

class CreateSuningPayNotices < ActiveRecord::Migration
  def self.up
    create_table :suning_pay_notices do |t|
      t.text :content
      t.string :sign
      t.string :sign_type, :limit=>30
      t.string :vk_version, :limit=>30
      t.string :deal_flag, :limit=>30
      t.timestamps
    end
  end

  def self.down
    drop_table :suning_pay_notices
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
suning_pay-0.3.3 lib/generators/suning_pay/templates/migration.rb
suning_pay-0.3.2 lib/generators/suning_pay/templates/migration.rb
suning_pay-0.3.1 lib/generators/suning_pay/templates/migration.rb
suning_pay-0.3.0 lib/generators/suning_pay/templates/migration.rb