From 5997c9ce4e5c3d5f7fbacd300cce5908efc00d4c Mon Sep 17 00:00:00 2001 From: Xadra <65365493+Xadra-T@users.noreply.github.com> Date: Thu, 8 May 2025 18:55:02 +0330 Subject: [PATCH] Fix manual database connection in init-postgres-salesdb.sql --- datasets/postgres/init-postgres-salesdb.sql | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/datasets/postgres/init-postgres-salesdb.sql b/datasets/postgres/init-postgres-salesdb.sql index b59028e..d3b47b3 100644 --- a/datasets/postgres/init-postgres-salesdb.sql +++ b/datasets/postgres/init-postgres-salesdb.sql @@ -9,10 +9,7 @@ -- DROP AND CREATE DATABASE DROP DATABASE IF EXISTS salesdb; CREATE DATABASE salesdb; - --- Connect to the new database (manual step in most PostgreSQL tools) - --- Now switch to the salesdb database to execute the following +\connect salesdb; -- Create schema DROP SCHEMA IF EXISTS sales CASCADE;