mirror of
https://github.com/trufflesecurity/xsshunter
synced 2024-12-18 08:33:16 +00:00
7fb21d7adf
* client gpg * first pass on pgp * completing backend save * displaying encrypted data * add migrations * fixing the download button * fixing image download * fixing image download * fixing image download * fixing email template bugs * fixing download button * final touches * final touches * final touches * final touches * final touches * Update Settings.vue * final touches * final touches * final touches * add sentry logging and stream file --------- Co-authored-by: counter <counter@counters-MacBook-Air.local> Co-authored-by: Dustin Decker <dustin@trufflesec.com>
48 lines
1.2 KiB
SQL
48 lines
1.2 KiB
SQL
-- migrate:up
|
|
|
|
-- payload_fire_results table
|
|
|
|
ALTER TABLE IF EXISTS public.payload_fire_results
|
|
ALTER COLUMN url DROP NOT NULL;
|
|
|
|
ALTER TABLE IF EXISTS public.payload_fire_results
|
|
ALTER COLUMN ip_address DROP NOT NULL;
|
|
|
|
ALTER TABLE IF EXISTS public.payload_fire_results
|
|
ALTER COLUMN referer DROP NOT NULL;
|
|
|
|
ALTER TABLE IF EXISTS public.payload_fire_results
|
|
ALTER COLUMN user_agent DROP NOT NULL;
|
|
|
|
ALTER TABLE IF EXISTS public.payload_fire_results
|
|
ALTER COLUMN cookies DROP NOT NULL;
|
|
|
|
ALTER TABLE IF EXISTS public.payload_fire_results
|
|
ALTER COLUMN title DROP NOT NULL;
|
|
|
|
ALTER TABLE IF EXISTS public.payload_fire_results
|
|
ALTER COLUMN origin DROP NOT NULL;
|
|
|
|
ALTER TABLE IF EXISTS public.payload_fire_results
|
|
ALTER COLUMN was_iframe DROP NOT NULL;
|
|
|
|
ALTER TABLE IF EXISTS public.payload_fire_results
|
|
ALTER COLUMN browser_timestamp DROP NOT NULL;
|
|
|
|
ALTER TABLE IF EXISTS public.payload_fire_results
|
|
ADD COLUMN encrypted boolean NOT NULL DEFAULT false;
|
|
|
|
ALTER TABLE IF EXISTS public.payload_fire_results
|
|
ADD COLUMN encrypted_data text;
|
|
|
|
ALTER TABLE IF EXISTS public.payload_fire_results
|
|
ADD COLUMN public_key text;
|
|
|
|
-- users table
|
|
|
|
ALTER TABLE IF EXISTS public.users
|
|
ADD COLUMN pgp_key text;
|
|
|
|
|
|
-- migrate:down
|
|
|