Sha256: 05414a0d5fd41ff5156fcf6136bb50ec35a9fce4bdf2239551b4cc92999bbb06
Contents?: true
Size: 909 Bytes
Versions: 45
Compression:
Stored size: 909 Bytes
Contents
class CreateEcomCoreCrewTimes < ActiveRecord::Migration[6.0] def change create_table :ecom_core_crew_times do |t| t.datetime :checkin_time t.datetime :checkout_time t.float :hours, null: false t.string :remark t.boolean :revised, null: false, default: false t.references :revision_to, null: true, index: { name: 'ct_on_rt_indx' }, foreign_key: { to_table: :ecom_core_crew_times } t.references :created_by, null: false, index: { name: 'ct_on_cb_indx' }, foreign_key: { to_table: :ecom_core_users } t.references :attendance_sheet_entry, null: false, index: { name: 'ct_on_ase_indx' }, foreign_key: { to_table: :ecom_core_attendance_sheet_entries } t.timestamps end end end
Version data entries
45 entries across 45 versions & 1 rubygems