Sha256: f140bd5760c28c2b1f5168b69c2c36e960c1501290e89dfef74485c449a593fa
Contents?: true
Size: 471 Bytes
Versions: 28
Compression:
Stored size: 471 Bytes
Contents
class CreateEcomCorePayrolls < ActiveRecord::Migration[6.0] def change create_table :ecom_core_payrolls do |t| t.integer :month, null: false t.integer :year, null: false t.boolean :approved, null: false, default: false t.references :project, null: false, index: { name: 'payroll_on_project_indx' }, foreign_key: { to_table: :ecom_core_projects } t.timestamps end end end
Version data entries
28 entries across 28 versions & 1 rubygems