fbkt-core-phile
Advanced tools
Comparing version 1.0.2 to 1.0.3
function buildKnexfile(){ | ||
return { | ||
fbkt_core_dev: { | ||
fbkt_core: { | ||
client: 'postgresql', | ||
connection: process.env.DB_CONNECTION_STRING, | ||
connection: process.env.DATABASE_URL, | ||
migrations: { | ||
@@ -7,0 +7,0 @@ directory: `${__dirname}/migrations`, |
@@ -11,57 +11,57 @@ | ||
const downScript = ` | ||
DO | ||
$body$ | ||
BEGIN | ||
IF EXISTS ( | ||
SELECT * | ||
FROM pg_catalog.pg_roles | ||
WHERE rolname = 'fbkt_super_admin' | ||
) THEN | ||
DROP OWNED BY fbkt_super_admin; | ||
DROP ROLE fbkt_super_admin; | ||
END IF; | ||
END | ||
$body$; | ||
--||-- | ||
DO | ||
$body$ | ||
BEGIN | ||
IF EXISTS ( | ||
SELECT * | ||
FROM pg_catalog.pg_roles | ||
WHERE rolname = 'fbkt_admin' | ||
) THEN | ||
DROP OWNED BY fbkt_admin; | ||
DROP ROLE fbkt_admin; | ||
END IF; | ||
END | ||
$body$; | ||
--||-- | ||
DO | ||
$body$ | ||
BEGIN | ||
IF EXISTS ( | ||
SELECT * | ||
FROM pg_catalog.pg_roles | ||
WHERE rolname = 'fbkt_user' | ||
) THEN | ||
DROP OWNED BY fbkt_user; | ||
DROP ROLE fbkt_user; | ||
END IF; | ||
END | ||
$body$; | ||
--||-- | ||
DO | ||
$body$ | ||
BEGIN | ||
IF EXISTS ( | ||
SELECT * | ||
FROM pg_catalog.pg_roles | ||
WHERE rolname = 'fbkt_anonymous' | ||
) THEN | ||
DROP OWNED BY fbkt_anonymous; | ||
DROP ROLE fbkt_anonymous; | ||
END IF; | ||
END | ||
$body$; | ||
-- DO | ||
-- $body$ | ||
-- BEGIN | ||
-- IF EXISTS ( | ||
-- SELECT * | ||
-- FROM pg_catalog.pg_roles | ||
-- WHERE rolname = 'fbkt_super_admin' | ||
-- ) THEN | ||
-- DROP OWNED BY fbkt_super_admin; | ||
-- DROP ROLE fbkt_super_admin; | ||
-- END IF; | ||
-- END | ||
-- $body$; | ||
-- --||-- | ||
-- DO | ||
-- $body$ | ||
-- BEGIN | ||
-- IF EXISTS ( | ||
-- SELECT * | ||
-- FROM pg_catalog.pg_roles | ||
-- WHERE rolname = 'fbkt_admin' | ||
-- ) THEN | ||
-- DROP OWNED BY fbkt_admin; | ||
-- DROP ROLE fbkt_admin; | ||
-- END IF; | ||
-- END | ||
-- $body$; | ||
-- --||-- | ||
-- DO | ||
-- $body$ | ||
-- BEGIN | ||
-- IF EXISTS ( | ||
-- SELECT * | ||
-- FROM pg_catalog.pg_roles | ||
-- WHERE rolname = 'fbkt_user' | ||
-- ) THEN | ||
-- DROP OWNED BY fbkt_user; | ||
-- DROP ROLE fbkt_user; | ||
-- END IF; | ||
-- END | ||
-- $body$; | ||
-- --||-- | ||
-- DO | ||
-- $body$ | ||
-- BEGIN | ||
-- IF EXISTS ( | ||
-- SELECT * | ||
-- FROM pg_catalog.pg_roles | ||
-- WHERE rolname = 'fbkt_anonymous' | ||
-- ) THEN | ||
-- DROP OWNED BY fbkt_anonymous; | ||
-- DROP ROLE fbkt_anonymous; | ||
-- END IF; | ||
-- END | ||
-- $body$; | ||
` | ||
@@ -68,0 +68,0 @@ |
{ | ||
"name": "fbkt-core-phile", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6793
10
291