Sha256: 146260b6096f1aff0dabcdf905666d696109bc259456573164a53a6142286306
Contents?: true
Size: 601 Bytes
Versions: 37
Compression:
Stored size: 601 Bytes
Contents
class CreateEcomCoreTaskResources < ActiveRecord::Migration[6.0] def change create_table :ecom_core_task_resources do |t| t.references :task, null: false, index: { name: 'tr_on_task_indx' }, foreign_key: { to_table: :ecom_core_tasks } t.references :resource_type, null: false, index: { name: 'tr_on_rt_indx' }, foreign_key: { to_table: :ecom_core_resource_types } t.date :date_assigned t.float :amount, nullable: false t.timestamps end end end
Version data entries
37 entries across 37 versions & 1 rubygems