dummy/db/migrate/20110909225432_create_users.rb in army-negative-3.0.0 vs dummy/db/migrate/20110909225432_create_users.rb in army-negative-3.1.0
- old
+ new
@@ -1,15 +1,11 @@
# encoding: utf-8
class CreateUsers < ActiveRecord::Migration
- def self.up
+ def change
create_table :users do |t|
t.string :username
t.boolean :enabled
t.timestamps
end
- end
-
- def self.down
- drop_table :users
end
end