Sha256: 417abfcff388fdf42e3162d786d3111e350b3e7f53b47a3ea3e4e17b1c1f1396
Contents?: true
Size: 516 Bytes
Versions: 2
Compression:
Stored size: 516 Bytes
Contents
class CreateEcomCoreOvertimeSheets < ActiveRecord::Migration[6.0] def change create_table :ecom_core_overtime_sheets do |t| t.date :date, null: false, unique: true t.time :opened_at, null: false t.time :submitted_at t.string :status, null: false, default: 'Open' t.references :project, null: false, index: { name: 'os_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/20200410090701_create_ecom_core_overtime_sheets.rb |
ecom_core-1.2.6 | db/migrate/20200410090701_create_ecom_core_overtime_sheets.rb |