metasploit-framework/data/sql/migrate/008_create_users.rb

17 lines
294 B
Ruby
Executable File

class CreateUsers < ActiveRecord::Migration
def self.up
create_table :users do |t|
t.string :username
t.string :crypted_password
t.string :password_salt
t.string :persistence_token
t.timestamps
end
end
def self.down
drop_table :users
end
end