Sha256: b18b6d11d1be83a59d71df365767f54a4eb04bd3fd243aa3360ed760e29d5caf
Contents?: true
Size: 860 Bytes
Versions: 39
Compression:
Stored size: 860 Bytes
Contents
class CreateEcomCoreCustomPaymentDetails < ActiveRecord::Migration[6.0] def change create_table :ecom_core_custom_payment_details do |t| t.string :name, null: false t.float :hours, null: false t.float :ot_hours, null: false, default: 0 t.float :base_salary, null: false t.float :overtime, null: false t.float :gross_salary, null: false t.float :tax, null: false, default: 0 t.float :pension, null: false, default: 0 t.float :net_salary, null: false t.float :net_pay, null: false t.float :advance, null: false t.float :wage, null: false t.string :qualification t.references :payment, null: false, index: { name: 'cpd_on_payment_indx' } t.timestamps end add_foreign_key :ecom_core_custom_payment_details, :ecom_core_payments, column: :payment_id end end
Version data entries
39 entries across 39 versions & 1 rubygems