Merge branch '78-store-smtp-settings' of github.com:gophish/gophish into 78-store-smtp-settings

pull/169/head
William Woodson 2016-02-22 21:38:56 -06:00
commit e889052a90
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ ALTER TABLE campaigns ADD COLUMN smtp_id bigint;
UPDATE campaigns UPDATE campaigns
SET smtp_id = (SELECT smtp.smtp_id FROM smtp) SET smtp_id = (SELECT smtp.smtp_id FROM smtp)
WHERE campaigns.id = ( WHERE campaigns.id = (
SELECT smtp.smtp_id SELECT campaigns.id
FROM smtp,campaigns FROM smtp,campaigns
WHERE smtp.campaign_id=campaigns.id WHERE smtp.campaign_id=campaigns.id
) )