Sha256: 7f8f352bee349c30342c1eefd8196e364efe807aef06cd0bb0a9d6e58641c866
Contents?: true
Size: 746 Bytes
Versions: 228
Compression:
Stored size: 746 Bytes
Contents
class CreateEducodeSalesMoneyPlans < ActiveRecord::Migration[5.2] def change create_table :educode_sales_money_plans do |t| t.datetime :date_at, comment: '回款日期' t.float :amount, comment: '回款金额' t.integer :clazz, comment: '状态' t.references :staff, comment: '' t.references :follow_up t.timestamps end add_column :educode_sales_follow_ups, :money_plans_count, :integer, default: 0 add_column :educode_sales_follow_ups, :teachers_count, :integer, default: 0 add_column :educode_sales_businesses, :follow_ups_count, :integer, default: 0 add_column :educode_sales_teachers, :follow_up_id, :integer remove_column :educode_sales_places, :area_id, :integer end end
Version data entries
228 entries across 228 versions & 1 rubygems