Sha256: 3723a083b56a96c5ad260117703a95c473d04bdd091e1aa2cbf47d142b43175b

Contents?: true

Size: 382 Bytes

Versions: 20

Compression:

Stored size: 382 Bytes

Contents

class CreateEcomCoreTakeoffs < ActiveRecord::Migration[6.0]
  def change
    create_table :ecom_core_takeoffs do |t|
      t.references :task,
                   null: false,
                   index: { name: 'takeoff_on_task_indx' },
                   foreign_key: { to_table: :ecom_core_tasks }

      t.float :takeoff_quantity, null: false

      t.timestamps
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
ecom_core-1.3.14 db/migrate/20200814043632_create_ecom_core_takeoffs.rb
ecom_core-1.3.13 db/migrate/20200814043632_create_ecom_core_takeoffs.rb
ecom_core-1.3.12 db/migrate/20200814043632_create_ecom_core_takeoffs.rb
ecom_core-1.3.11 db/migrate/20200814043632_create_ecom_core_takeoffs.rb
ecom_core-1.3.10 db/migrate/20200814043632_create_ecom_core_takeoffs.rb
ecom_core-1.3.9 db/migrate/20200814043632_create_ecom_core_takeoffs.rb
ecom_core-1.3.8 db/migrate/20200814043632_create_ecom_core_takeoffs.rb
ecom_core-1.3.7 db/migrate/20200814043632_create_ecom_core_takeoffs.rb
ecom_core-1.3.6 db/migrate/20200814043632_create_ecom_core_takeoffs.rb
ecom_core-1.3.5 db/migrate/20200814043632_create_ecom_core_takeoffs.rb
ecom_core-1.3.4 db/migrate/20200814043632_create_ecom_core_takeoffs.rb
ecom_core-1.3.3 db/migrate/20200814043632_create_ecom_core_takeoffs.rb
ecom_core-1.3.2 db/migrate/20200814043632_create_ecom_core_takeoffs.rb
ecom_core-1.3.1 db/migrate/20200814043632_create_ecom_core_takeoffs.rb
ecom_core-1.3.0 db/migrate/20200814043632_create_ecom_core_takeoffs.rb
ecom_core-1.2.36 db/migrate/20200814043632_create_ecom_core_takeoffs.rb
ecom_core-1.2.35 db/migrate/20200814043632_create_ecom_core_takeoffs.rb
ecom_core-1.2.34 db/migrate/20200814043632_create_ecom_core_takeoffs.rb
ecom_core-1.2.33 db/migrate/20200814043632_create_ecom_core_takeoffs.rb
ecom_core-1.2.32 db/migrate/20200814043632_create_ecom_core_takeoffs.rb