20220819114688_add_wx_bls.rb 400 B

12345678910111213141516
  1. # This migration and CreateVersionAssociations provide the necessary
  2. # schema for tracking associations.
  3. class AddWxBls < ActiveRecord::Migration
  4. def self.up
  5. add_column :wx_users, :tc_area, :string, :default=>""
  6. add_column :wx_users, :tc_bl , :integer, :limit => 11, :default => 0
  7. end
  8. def self.down
  9. remove_column :wx_users, :tc_area
  10. remove_column :wx_users, :tc_bl
  11. end
  12. end