rosa-build/db/migrate/20111017112255_create_priva...

15 lines
270 B
Ruby

class CreatePrivateUsers < ActiveRecord::Migration
def self.up
create_table :private_users do |t|
t.integer :platform_id
t.string :login
t.string :password
t.timestamps
end
end
def self.down
drop_table :private_users
end
end