Skip to content

Commit

Permalink
Remove drop
Browse files Browse the repository at this point in the history
  • Loading branch information
amandine-sahl committed Jun 26, 2023
1 parent f7c3f81 commit 760cf3b
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions db/create_db_structure.sql
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@


CREATE SCHEMA IF NOT EXISTS animations;

DROP VIEW animations.v_export_bilans_global;

DROP TABLE IF EXISTS animations.t_reservations ;



CREATE TABLE animations.t_reservations (
id_reservation serial4 NOT NULL,
Expand Down Expand Up @@ -32,8 +30,7 @@ CREATE TABLE animations.t_reservations (
CONSTRAINT fk_id_event FOREIGN KEY(id_event)
REFERENCES tourism_touristicevent(id)
);

DROP TABLE IF EXISTS animations.t_animations_bilans ;


CREATE TABLE animations.t_animations_bilans (
id_bilan serial4 NOT NULL,
Expand All @@ -54,8 +51,7 @@ CREATE TABLE animations.t_animations_bilans (
CONSTRAINT fk_id_event FOREIGN KEY(id_event)
REFERENCES tourism_touristicevent(id)
);

DROP TABLE IF EXISTS animations.t_event_info ;


CREATE TABLE animations.t_event_info (
id_event_info serial4 NOT NULL,
Expand All @@ -67,8 +63,7 @@ CREATE TABLE animations.t_event_info (
CONSTRAINT fk_id_event FOREIGN KEY(id_event)
REFERENCES tourism_touristicevent(id)
);

DROP TABLE IF EXISTS animations.t_tokens;


CREATE TABLE animations.t_tokens (
id serial4 NOT NULL,
Expand Down

0 comments on commit 760cf3b

Please sign in to comment.