1 changed files with 11 additions and 0 deletions
			
			
		@ -0,0 +1,11 @@
					 | 
				
			||||
class AddFieldsToSalesLog < ActiveRecord::Migration[7.0] | 
				
			||||
  def change | 
				
			||||
    change_table :sales_logs, bulk: true do |t| | 
				
			||||
      t.column :firststair, :integer | 
				
			||||
      t.column :numstair, :integer | 
				
			||||
      t.column :mrentprestaircasing, :decimal, precision: 10, scale: 2 | 
				
			||||
      t.column :lasttransaction, :datetime | 
				
			||||
      t.column :initialpurchase, :datetime | 
				
			||||
    end | 
				
			||||
  end | 
				
			||||
end | 
				
			||||
					Loading…
					
					
				
		Reference in new issue