mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 16:32:04 +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
|