Sha256: e092da6a4efa5fcc2085c3ec6cd9f5fb4b71e887d73330492dd8ffd8402cf55e
Contents?: true
Size: 443 Bytes
Versions: 3
Compression:
Stored size: 443 Bytes
Contents
class CreateEcomModelCrewTimes < ActiveRecord::Migration[6.0] def change create_table :ecom_model_crew_times do |t| t.datetime :checkin_time t.datetime :checkout_time t.references :crew, index: { name: 'ct_on_crew_indx' } t.string :remark t.boolean :overtime, null: false, default: false t.timestamps end add_foreign_key :ecom_model_crew_times, :ecom_model_crews, column: :crew_id end end
Version data entries
3 entries across 3 versions & 1 rubygems