Sha256: 76078e8c8656f4b3dd624f65bef4c7d0e413e770fdbff8223b64001ce9e9ca13

Contents?: true

Size: 280 Bytes

Versions: 123

Compression:

Stored size: 280 Bytes

Contents

class AddInvoicableFlag < ActiveRecord::Migration
  def self.up
    add_column :backlogs, :invoice_code, :string, :size => 16 
    add_column :works, :invoice, :boolean
  end

  def self.down
    remove_column :works, :invoice
    remove_column :backlogs, :invoice_code
  end
end

Version data entries

123 entries across 123 versions & 1 rubygems

Version Path
backlog-0.37.2 db/migrate/016_add_invoicable_flag.rb
backlog-0.37.1 db/migrate/016_add_invoicable_flag.rb
backlog-0.36.2 db/migrate/016_add_invoicable_flag.rb
backlog-0.0.0 db/migrate/016_add_invoicable_flag.rb
backlog-0.0.1 db/migrate/016_add_invoicable_flag.rb
backlog-0.0.2 db/migrate/016_add_invoicable_flag.rb
backlog-0.0.4 db/migrate/016_add_invoicable_flag.rb
backlog-0.0.5 db/migrate/016_add_invoicable_flag.rb
backlog-0.1.1 db/migrate/016_add_invoicable_flag.rb
backlog-0.1.0 db/migrate/016_add_invoicable_flag.rb
backlog-0.1.2 db/migrate/016_add_invoicable_flag.rb
backlog-0.10.0 db/migrate/016_add_invoicable_flag.rb
backlog-0.10.1 db/migrate/016_add_invoicable_flag.rb
backlog-0.10.3 db/migrate/016_add_invoicable_flag.rb
backlog-0.10.4 db/migrate/016_add_invoicable_flag.rb
backlog-0.10.2 db/migrate/016_add_invoicable_flag.rb
backlog-0.10.5 db/migrate/016_add_invoicable_flag.rb
backlog-0.10.6 db/migrate/016_add_invoicable_flag.rb
backlog-0.10.7 db/migrate/016_add_invoicable_flag.rb
backlog-0.10.8 db/migrate/016_add_invoicable_flag.rb