Sha256: ff0c4ddcd345fa893c73b2f29623c1e06111cd3846a1ffb470594bb973cb2148
Contents?: true
Size: 519 Bytes
Versions: 45
Compression:
Stored size: 519 Bytes
Contents
class CreateEcomCorePayments < ActiveRecord::Migration[6.0] def change create_table :ecom_core_payments do |t| t.date :from, null: false t.date :to, null: false t.boolean :approved, null: false, default: false t.integer :payment_order, null: false, default: 1 t.references :payroll, null: false, index: { name: 'payments_on_payroll_indx' }, foreign_key: { to_table: :ecom_core_payrolls } t.timestamps end end end
Version data entries
45 entries across 45 versions & 1 rubygems