Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fbkt-core-phile

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fbkt-core-phile - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

db/knexfile.js
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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc