Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove change_column command

Signed-off-by: trebor8x <trobbe@online.de>
  • Loading branch information...
commit aef205c572ef7fc2e44cbb1a9d0fd3b829e5e308 1 parent 454b5fa
@grobie grobie authored committed
View
4 db/migrate/20081015144931_create_invoices.rb
@@ -1,8 +1,8 @@
class CreateInvoices < ActiveRecord::Migration
def self.up
create_table :invoices do |t|
- t.string :invoice_num
- t.date :date
+ t.integer :invoice_num
+ t.date :date
t.integer :customer_id
t.decimal :sum, :precision => 8, :scale => 2, :default => 0
View
9 db/migrate/20081015201906_change_invoice_num_type_to_integer.rb
@@ -1,9 +0,0 @@
-class ChangeInvoiceNumTypeToInteger < ActiveRecord::Migration
- def self.up
- change_column :invoices, :invoice_num, :integer
- end
-
- def self.down
- change_column :invoices, :invoice_num, :string
- end
-end
Please sign in to comment.
Something went wrong with that request. Please try again.