Sha256: 08449196298b6cf34ae448d8f02645897a6c4cb083e324d8a3d15021ffa71279
Contents?: true
Size: 643 Bytes
Versions: 28
Compression:
Stored size: 643 Bytes
Contents
class CreateEcomCoreProjectCrews < ActiveRecord::Migration[6.0] def change create_table :ecom_core_project_crews do |t| t.references :project, null: false, index: { name: 'pc_on_project_indx' }, foreign_key: { to_table: :ecom_core_projects } t.references :crew, null: false, index: { name: 'pc_on_crew_indx' }, foreign_key: { to_table: :ecom_core_crews } t.date :start_date, null: false t.date :end_date t.string :status, null: false, default: 'Inactive' t.timestamps end end end
Version data entries
28 entries across 28 versions & 1 rubygems