mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 11:16:00 +02:00
6 lines
148 B
Ruby
6 lines
148 B
Ruby
class AddNumberToInvoices < ActiveRecord::Migration
|
|
def change
|
|
add_column :invoices, :number, :integer
|
|
Invoice.all.each(&:save)
|
|
end
|
|
end
|