Sha256: 54d3d352984e9975e02ad264c86c118c9c6a61f4e8237a7ca4dbbbf79cc132c4
Contents?: true
Size: 754 Bytes
Versions: 1
Compression:
Stored size: 754 Bytes
Contents
class CreateEcomCoreCrews < ActiveRecord::Migration[6.0] def change create_table :ecom_core_crews do |t| t.string :employee_id t.string :name, null: false t.string :phone t.string :email t.string :qualification, null: false t.string :employment, null: false t.float :wage t.date :employment_date t.boolean :sub_contracted, null: false, default: false t.string :guarantor_name t.string :guarantor_phone t.boolean :active, null: false, default: true t.references :crew_type, null: false, index: { name: 'crew_on_ct_indx' }, foreign_key: { to_table: :ecom_core_resource_types } t.timestamps end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ecom_core-1.2.6 | db/migrate/20191225100054_create_ecom_core_crews.rb |