Sha256: 40cedbdddc0096ed75392211b7a83866bc4595a7952a3166c79fa80693b613b7

Contents?: true

Size: 385 Bytes

Versions: 95

Compression:

Stored size: 385 Bytes

Contents

class AddDeletReasonToBusiness < ActiveRecord::Migration[5.2]
  def change
    add_column :educode_sales_businesses, :delete_reason, :string
    add_column :educode_sales_businesses, :auth_desc, :string, comment: '审核说明'
    add_column :educode_sales_businesses, :state_id, :integer, default: 0, comment: '正常:0, 待审核删除:1, 进入回收站:2, A类降级:3'
  end
end

Version data entries

95 entries across 95 versions & 1 rubygems

Version Path
educode_sales-0.9.72 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-0.9.71 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-0.9.70 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-0.9.69 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-0.9.68 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-0.9.67 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-0.9.66 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-0.9.65 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-0.9.64 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-0.9.63 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-0.9.62 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-0.9.61 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-0.9.60 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-0.9.59 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-0.9.58 db/migrate/20230314122536_add_delet_reason_to_business.rb