From 2454eadcc51175a62cde3c8a8dbdcf3b955a0460 Mon Sep 17 00:00:00 2001 From: "Begerad, Stefan" Date: Mon, 28 Aug 2023 15:03:13 +0200 Subject: [PATCH] chore(fix): refactor --- sql/create-table.sql | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sql/create-table.sql b/sql/create-table.sql index aa7a411..39f0337 100644 --- a/sql/create-table.sql +++ b/sql/create-table.sql @@ -3,7 +3,10 @@ CREATE SCHEMA IF NOT EXISTS :schema; SET search_path to :schema, public; -CREATE TABLE :schema.stops( +DROP TABLE IF EXISTS stops; + +CREATE TABLE IF NOT EXISTS :schema.stops +( stop_seq_no INT, stop_type CHAR(1), stop_dhid VARCHAR(63),