class CreateSuningPayNotices

Public Class Methods

down() click to toggle source
# File lib/generators/suning_pay/templates/migration.rb, line 13
def self.down
  drop_table :suning_pay_notices
end
up() click to toggle source
# File lib/generators/suning_pay/templates/migration.rb, line 2
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