Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
postgres:
container_name: postgres
image: ghcr.io/constructive-io/docker/postgres-plus:17
image: docker.io/constructiveio/postgres-plus:18
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=password
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ describe('DEFAULT_ALLOWED_FUNCTIONS', () => {
expect(DEFAULT_ALLOWED_FUNCTIONS).toEqual([
'uuid_generate_v4',
'gen_random_uuid',
'uuidv7',
'now',
'clock_timestamp',
'statement_timestamp',
Expand All @@ -20,8 +21,8 @@ describe('DEFAULT_ALLOWED_FUNCTIONS', () => {
]);
});

it('should have exactly 9 functions', () => {
expect(DEFAULT_ALLOWED_FUNCTIONS).toHaveLength(9);
it('should have exactly 10 functions', () => {
expect(DEFAULT_ALLOWED_FUNCTIONS).toHaveLength(10);
});

it('should NOT contain setseed (makes random() predictable)', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ interface AstNodeValidationResult {
export const DEFAULT_ALLOWED_FUNCTIONS = [
'uuid_generate_v4',
'gen_random_uuid',
'uuidv7',
'now',
'clock_timestamp',
'statement_timestamp',
Expand Down
1 change: 0 additions & 1 deletion pgpm/core/src/export/export-migrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ const DB_REQUIRED_EXTENSIONS = [
'vector',
'metaschema-schema',
'pgpm-inflection',
'pgpm-uuid',
'pgpm-utils',
'pgpm-database-jobs',
'pgpm-jwt-claims',
Expand Down
3 changes: 1 addition & 2 deletions pgpm/core/src/modules/modules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ export const PGPM_MODULE_MAP: Record<string, string> = {
'pgpm-stamps': '@pgpm/stamps',
'pgpm-totp': '@pgpm/totp',
'pgpm-types': '@pgpm/types',
'pgpm-utils': '@pgpm/utils',
'pgpm-uuid': '@pgpm/uuid'
'pgpm-utils': '@pgpm/utils'
};

/**
Expand Down
Loading