Sha256: 8a2462d1a6d326a0954c59ca7026da5b0a2680fedd629c53d3baa56223c8fbb7
Contents?: true
Size: 655 Bytes
Versions: 8
Compression:
Stored size: 655 Bytes
Contents
class CreateEcomCoreTasks < ActiveRecord::Migration[6.0] def change create_table :ecom_core_tasks do |t| t.string :code, null: false t.string :name, null: false t.string :description t.string :ancestry t.references :project, null: false, index: { name: 'tasks_on_project_indx' }, foreign_key: { to_table: :ecom_core_projects } t.references :task_template, null: false, index: { name: 'tt_on_project_indx' }, foreign_key: { to_table: :ecom_core_task_templates } t.timestamps end end end
Version data entries
8 entries across 8 versions & 1 rubygems