Skip to content

Commit

Permalink
Move adding extension to start.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
witekest committed Oct 23, 2023
1 parent 442f1a2 commit 796f509
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions schema/spacewalk/common/tables/rhnPackageChangeLogData.sql
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
-- in this software or its documentation.
--

CREATE EXTENSION IF NOT EXISTS pgcrypto;

CREATE TABLE rhnPackageChangeLogData
(
id NUMERIC NOT NULL
Expand Down
2 changes: 2 additions & 0 deletions schema/spacewalk/postgres/start.sql
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ create temporary table store_searchpath as select setting from pg_settings where

update pg_settings set setting = (select setting from store_searchpath) where name = 'search_path';
drop table store_searchpath;

CREATE EXTENSION pgcrypto;

0 comments on commit 796f509

Please sign in to comment.