Sha256: c6814f5bd5dd9926b02f5a718e5aa0aacbeb4273adea786f49b333c332ad8fe9

Contents?: true

Size: 588 Bytes

Versions: 45

Compression:

Stored size: 588 Bytes

Contents

class CreateEcomCoreAttendanceSheetEntries < ActiveRecord::Migration[6.0]
  def change
    create_table :ecom_core_attendance_sheet_entries do |t|
      t.references :attendance_sheet,
                   null: false,
                   index: { name: 'ase_on_as_indx' },
                   foreign_key: { to_table: :ecom_core_attendance_sheets }
      t.references :crew,
                   null: false,
                   index: { name: 'ase_on_crew_indx' },
                   foreign_key: { to_table: :ecom_core_crews }
      t.float :total_hours

      t.timestamps
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
ecom_core-1.3.14 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.3.13 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.3.12 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.3.11 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.3.10 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.3.9 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.3.8 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.3.7 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.3.6 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.3.5 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.3.4 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.3.3 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.3.2 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.3.1 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.3.0 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.36 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.35 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.34 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.33 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.32 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb