Skip to content

Commit

Permalink
#1107 update table definition
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielwol committed Jan 3, 2025
1 parent 5ef6912 commit e4f926e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions volumes/miovision/sql/table/create-table-camera_details.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
CREATE TABLE IF NOT EXISTS miovision_api.camera_details
(
intersection_id text COLLATE pg_catalog."default" NOT NULL,
api_name text COLLATE pg_catalog."default",
camera_id text COLLATE pg_catalog."default" NOT NULL,
camera_label text COLLATE pg_catalog."default",
last_seen date NOT NULL,
Expand All @@ -26,4 +25,4 @@ GRANT ALL ON TABLE miovision_api.camera_details TO miovision_admins;
GRANT ALL ON TABLE miovision_api.camera_details TO miovision_api_bot;

COMMENT ON TABLE miovision_api.camera_details
IS 'Miovision camera details. Updated by miovision_hardware Airflow DAG.';
IS 'Miovision camera details. Updated by miovision_hardware Airflow DAG.';

0 comments on commit e4f926e

Please sign in to comment.