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-1.10.6 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-1.10.5 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-1.10.3 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-1.10.2 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-1.10.1 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-1.10.0 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-1.0.9 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-1.0.8 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-1.0.7 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-1.0.6 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-1.0.5 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-1.0.4 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-1.0.3 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-1.0.2 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-1.0.1 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-1.0.0 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-0.9.99 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-0.9.98 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-0.9.97 db/migrate/20230314122536_add_delet_reason_to_business.rb
educode_sales-0.9.96 db/migrate/20230314122536_add_delet_reason_to_business.rb