1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-05 14:57:30 +01:00

avoid mysql limitation, fixes #2976

git-svn-id: file:///home/svn/framework3/trunk@11235 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
Joshua Drake 2010-12-06 22:03:34 +00:00
parent c93d8d98fe
commit 3fa31f9c32
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ class AddWebTables < ActiveRecord::Migration
t.string :auth, :limit => 4096
t.string :ctype, :limit => 4096
t.timestamp :mtime
t.string :location, :limit => 4096
t.string :location, :limit => 1300
t.text :body
t.text :headers
end

View File

@ -21,7 +21,7 @@ class FixWebTables < ActiveRecord::Migration
change_column :web_pages, :cookie, :string, :limit => 4096
change_column :web_pages, :auth, :string, :limit => 4096
change_column :web_pages, :ctype, :string, :limit => 4096
change_column :web_pages, :location, :string, :limit => 4096
change_column :web_pages, :location, :string, :limit => 1300
change_column :web_pages, :path, :string, :limit => 4096
change_column :web_vulns, :path, :string, :limit => 4096
change_column :web_vulns, :pname, :string, :limit => 4096