mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-12 11:52:01 +01:00
f6415186a8
git-svn-id: file:///home/svn/framework3/trunk@10923 4d416f70-5f16-0410-b530-b9f4589650da
18 lines
363 B
Ruby
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
|
|
|