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.2.31 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.30 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.29 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.28 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.27 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.26 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.25 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.24 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.23 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.22 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.21 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.20 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.19 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.18 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.17 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.16 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.15 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.14 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.13 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb
ecom_core-1.2.12 db/migrate/20191225162539_create_ecom_core_attendance_sheet_entries.rb