Sha256: 635b1691b285f74a3e1d5b06301f0fd816508eab9df1383b2a254028c37b59fe

Contents?: true

Size: 719 Bytes

Versions: 64

Compression:

Stored size: 719 Bytes

Contents

class CreateEducodeSalesFollowUps < ActiveRecord::Migration[5.2]
  def change
    create_table :educode_sales_follow_ups do |t|
      t.references :business
      t.references :staff
      t.integer :clazz_id, comment: '项目类型'
      t.integer :stage_id, comment: '项目阶段'
      t.date :invitation_at, comment: '计划投标时间'
      t.date :reception_at, comment: '验收时间'
      t.float :total_amount, comment: '总额'
      t.float :actual_amount, comment: '实际金额'
      t.integer :divide_rate, comment: '分成'
      t.text :description, comment: '个人总结'
      t.text :advise, comment: '建议'
      t.references :place, comment: '渠道'

      t.timestamps
    end
  end
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
educode_sales-1.10.74 db/migrate/20210902080918_create_educode_sales_follow_ups.rb
educode_sales-1.10.73 db/migrate/20210902080918_create_educode_sales_follow_ups.rb
educode_sales-1.10.72 db/migrate/20210902080918_create_educode_sales_follow_ups.rb
educode_sales-1.10.71 db/migrate/20210902080918_create_educode_sales_follow_ups.rb
educode_sales-1.10.70 db/migrate/20210902080918_create_educode_sales_follow_ups.rb
educode_sales-1.10.59 db/migrate/20210902080918_create_educode_sales_follow_ups.rb
educode_sales-1.10.58 db/migrate/20210902080918_create_educode_sales_follow_ups.rb
educode_sales-1.10.49 db/migrate/20210902080918_create_educode_sales_follow_ups.rb
educode_sales-1.10.48 db/migrate/20210902080918_create_educode_sales_follow_ups.rb
educode_sales-1.10.46 db/migrate/20210902080918_create_educode_sales_follow_ups.rb
educode_sales-1.10.41 db/migrate/20210902080918_create_educode_sales_follow_ups.rb
educode_sales-1.10.37 db/migrate/20210902080918_create_educode_sales_follow_ups.rb
educode_sales-1.10.36 db/migrate/20210902080918_create_educode_sales_follow_ups.rb
educode_sales-1.10.35 db/migrate/20210902080918_create_educode_sales_follow_ups.rb
educode_sales-1.10.34 db/migrate/20210902080918_create_educode_sales_follow_ups.rb
educode_sales-1.10.33 db/migrate/20210902080918_create_educode_sales_follow_ups.rb
educode_sales-1.10.31 db/migrate/20210902080918_create_educode_sales_follow_ups.rb
educode_sales-1.10.30 db/migrate/20210902080918_create_educode_sales_follow_ups.rb
educode_sales-1.10.29 db/migrate/20210902080918_create_educode_sales_follow_ups.rb
educode_sales-1.10.28 db/migrate/20210902080918_create_educode_sales_follow_ups.rb