Sha256: 7a59de6f99d269129cd2733182a8fde945710e7ee37a330f6e1dab8da26069bd
Contents?: true
Size: 540 Bytes
Versions: 2
Compression:
Stored size: 540 Bytes
Contents
class CreateEcomCoreAttendanceSheets < ActiveRecord::Migration[6.0] def change create_table :ecom_core_attendance_sheets do |t| t.date :date, null: false, unique: true t.time :opened_at, null: false t.time :closed_at t.string :remark t.string :status, null: false, default: 'Open' t.references :project, null: false, index: { name: 'as_on_project_indx' }, foreign_key: { to_table: :ecom_core_projects } t.timestamps end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ecom_core-1.2.7 | db/migrate/20191225140433_create_ecom_core_attendance_sheets.rb |
ecom_core-1.2.6 | db/migrate/20191225140433_create_ecom_core_attendance_sheets.rb |