Sha256: e618edf826789afbbd8ae3a65fdbeabbde070efee98f314bcb12c85706968470
Contents?: true
Size: 358 Bytes
Versions: 1
Compression:
Stored size: 358 Bytes
Contents
class LinkCrewTimesWithAttendanceSheet < ActiveRecord::Migration[6.0] def up add_column :ecom_core_crew_times, :attendance_sheet_id, :integer, index: { name: 'ct_on_as_indx' } add_foreign_key :ecom_core_crew_times, :ecom_core_attendance_sheets, column: :attendance_sheet_id end def down raise ActiveRecord::IrreversibleMigration end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ecom_core-1.1.8 | db/migrate/20200401043014_link_crew_times_with_attendance_sheet.rb |