Skip to content

feat(token-kiosk): implemented database connection MAPCO-8123#83

Merged
CptSchnitz merged 2 commits into
masterfrom
kiosk-database
Jul 10, 2025
Merged

feat(token-kiosk): implemented database connection MAPCO-8123#83
CptSchnitz merged 2 commits into
masterfrom
kiosk-database

Conversation

@CptSchnitz

Copy link
Copy Markdown
Contributor

No description provided.

@CptSchnitz CptSchnitz requested a review from netanelC July 8, 2025 05:17
@CptSchnitz CptSchnitz changed the title feat(token-kiosk): implemented database connection feat(token-kiosk): implemented database connection MAPCO-8123 Jul 8, 2025
@github-actions

github-actions Bot commented Jul 8, 2025

Copy link
Copy Markdown

🎫 Related Jira Issue: MAPCO-8123

@@ -0,0 +1,18 @@
import { integer, jsonb, pgSchema, text, timestamp, primaryKey, foreignKey, index, boolean } from 'drizzle-orm/pg-core';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
import { integer, jsonb, pgSchema, text, timestamp, primaryKey, foreignKey, index, boolean } from 'drizzle-orm/pg-core';
import { integer, jsonb, pgSchema, text, timestamp, boolean } from 'drizzle-orm/pg-core';

@@ -1,10 +1,11 @@
import type { Logger } from '@map-colonies/js-logger';
import { addMilliseconds, formatISO, hoursToSeconds } from 'date-fns';
import { addMilliseconds, formatISO, hoursToSeconds, isAfter, isFuture } from 'date-fns';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
import { addMilliseconds, formatISO, hoursToSeconds, isAfter, isFuture } from 'date-fns';
import { addMilliseconds, formatISO, hoursToSeconds, isAfter } from 'date-fns';

Comment thread packages/token-kiosk/src/tokens/models/tokenManager.ts
Comment thread packages/token-kiosk/src/users/user.ts
@@ -0,0 +1,18 @@
import { integer, jsonb, pgSchema, text, timestamp, primaryKey, foreignKey, index, boolean } from 'drizzle-orm/pg-core';

export const pgDbSchema = pgSchema('token_kiosk');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
export const pgDbSchema = pgSchema('token_kiosk');
const pgDbSchema = pgSchema('token_kiosk');

@CptSchnitz CptSchnitz merged commit 16093c8 into master Jul 10, 2025
12 checks passed
@CptSchnitz CptSchnitz deleted the kiosk-database branch July 10, 2025 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants