Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
Mise à jour de la base de données
Browse files Browse the repository at this point in the history
  • Loading branch information
miledrousset committed Jul 25, 2019
1 parent f0f2c55 commit deb6e2d
Show file tree
Hide file tree
Showing 2 changed files with 344 additions and 542 deletions.
14 changes: 11 additions & 3 deletions src/main/resources/install/maj_bdd_current.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
--
-- !!!!!!! Attention !!!!!!!!!

-- version=4.5.1
-- date : 19/07/2019
-- version=4.5.2
-- date : 25/07/2019
--
-- n'oubliez pas de définir le role suivant votre installation
--
Expand All @@ -18,7 +18,12 @@
SET ROLE = opentheso;





-- !!! Important !!!
-- pour créer ces extensions, il faut avoir des privilèves SuperAdmin sur Postgres
--
CREATE EXTENSION IF NOT EXISTS unaccent;
CREATE EXTENSION IF NOT EXISTS pg_trgm;

Expand All @@ -27,12 +32,15 @@ CREATE OR REPLACE FUNCTION f_unaccent(text)
$func$
SELECT public.unaccent('public.unaccent', $1)
$func$ LANGUAGE sql IMMUTABLE;

--
--- fin des fonctions à appliquer en premier et à part







DROP TABLE public.note_type;
CREATE TABLE public.note_type
(
Expand Down
Loading

0 comments on commit deb6e2d

Please sign in to comment.