Skip to content

Commit

Permalink
remove unused extension
Browse files Browse the repository at this point in the history
`tablefunc` functions are not currently used, and this extension is not
available in the Azure Database for PostgreSQL - Flexible Server
(PostgreSQL v13), so we should be able to safely avoid the use of this
extension altogether.
  • Loading branch information
hotzevzl committed Jun 27, 2022
1 parent 7e561bc commit bd55cd7
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export class InitialGeoDBSetup1611221157285 implements MigrationInterface {
// Only CREATEDB privilege required in 13+ rather than SUPERUSER (ht @agnessa)
if (await PostgreSQLUtils.version13Plus()) {
await queryRunner.query(`
CREATE EXTENSION IF NOT EXISTS tablefunc;
CREATE EXTENSION IF NOT EXISTS plpgsql;
CREATE EXTENSION IF NOT EXISTS postgis;
CREATE EXTENSION IF NOT EXISTS postgis_raster; -- OPTIONAL
Expand Down Expand Up @@ -201,7 +200,6 @@ export class InitialGeoDBSetup1611221157285 implements MigrationInterface {
DROP EXTENSION postgis_raster; -- OPTIONAL
DROP EXTENSION postgis;
DROP EXTENSION plpgsql;
DROP EXTENSION tablefunc;
`);
}
}
Expand Down

0 comments on commit bd55cd7

Please sign in to comment.