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
Tod Beardsley f6415186a8 Adds the imported_creds table.
git-svn-id: file:///home/svn/framework3/trunk@10923 4d416f70-5f16-0410-b530-b9f4589650da
2010-11-06 01:01:20 +00:00

18 lines
363 B
Ruby

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