feat: adjust bin/services.sh

This commit is contained in:
dancingCycle 2023-12-06 15:12:33 +01:00
parent 617a697f5a
commit cbf3f42905
2 changed files with 1 additions and 4 deletions

View File

@ -1,7 +1,6 @@
#!/bin/bash
#!/bin/sh
#
echo "Started..."
#Started...
#
# special variable $# is the number of arguments
if [ $# -lt 3 ] ; then
@ -19,4 +18,3 @@ echo "DB_SCHEMA: ${DB_SCHEMA}"
psql -h localhost -p 5432 -U $DB_USER -f ./sql/services.sql -d $DB_NAME -v schema=$DB_SCHEMA
#
echo "Done."
#done.

View File

@ -8,7 +8,6 @@ DROP TABLE IF EXISTS :schema.services;
CREATE TABLE IF NOT EXISTS :schema.services
(
feed_index int NOT NULL REFERENCES feed_info (feed_index) ON DELETE CASCADE,
service_id text NOT NULL,
dates text NOT NULL,