1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00
metasploit-framework/data/sql/migrate/20101104135100_add_imported_creds.rb

18 lines
363 B
Ruby
Raw Normal View History

class AddImportedCreds < ActiveRecord::Migration
def self.up
create_table :imported_creds do |t|
t.integer :workspace_id, :null => false, :default => 1
t.string :user, :limit => 512
t.string :pass, :limit => 512
t.string :ptype, :limit => 16, :default => "password"
end
end
def self.down
drop_table :imported_creds
end
end