Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
50 views

I'm building a full-stack application using Prisma for database. When I run, npx prisma db push that command stuck and does not complete My DATABASE_URL is using the Supabase transaction poller ...
Kalpani Ekanayake's user avatar
1 vote
1 answer
85 views

Suppose I have a SQLAlchemy model that looks like this: class MyModel(meta.Base) id = Column(BigInteger, autoincrement=True, primary_key=True) extra_data = Column(postgresql.JSON, nullable=...
Saqib Ali's user avatar
  • 12.9k
1 vote
0 answers
69 views

Problem After upgrading from PostgreSQL 17 to PostgreSQL 18, our logical replication consumer stops advancing restart_lsn on the replication slot when workload consists mainly of empty transactions (...
valerii's user avatar
  • 23
Best practices
0 votes
9 replies
72 views

I'm building a multi-tenant hotel booking app as a personal project. I’m trying to figure out a good way to handle permission overrides (mainly for hotel users) My schema: A) role_permissions defines ...
Corvus-OS's user avatar
1 vote
2 answers
89 views

I am running Django tests inside GitLab CI and trying to switch between SQLite (for local/test) and PostgreSQL (for production). My settings structure looks like this: settings/_init_.py: import os ...
fluxio's user avatar
  • 21
Best practices
0 votes
2 replies
54 views

Suppose I have a SQLAlchemy model that looks like this: class MyModel(meta.Base) extra_data = Column(postgresql.JSON, nullable=False) The following (I believe, but I have not run it) works. It ...
Saqib Ali's user avatar
  • 12.9k
2 votes
1 answer
58 views

I am using Google Cloud Datastream with Cloud SQL for PostgreSQL as the source, and I am trying to understand what Datastream is expected to include in PostgreSQL DELETE events. My source table is ...
user8703305's user avatar
Advice
0 votes
2 replies
57 views

I have a homework that need designing database for a system and I'm wondering whether I'm doing it good or not, please give me some advices, thank you all! via link: Database and relationship i think: ...
user32488073's user avatar
Advice
1 vote
5 replies
97 views

I ran into a design problem in a Symfony + Doctrine + PostgreSQL project and I want to make sure I am solving it at the correct layer. I have an entity where one user can have many rows, but only one ...
RangeLead's user avatar
-2 votes
1 answer
44 views

I am trying to update packages using dnf (or yum). Before performing the update, I ran the command with --assumeno to preview the transaction: sudo dnf update --assumeno In the output, it shows that ...
Vishal Bhagat's user avatar
1 vote
1 answer
62 views

I'm trying to use the Postgres npm library to dynamically create tables like this: const table = { schema: 'public', name: 'test', columns: [ {name: 'id', type: 'uuid', pk: true}, ...
David's user avatar
  • 15k
Advice
0 votes
3 replies
61 views

I'm experimenting with building an embedded SQL engine for Node.js and Bun. The idea is similar to SQLite, but the engine aims to support a large subset of PostgreSQL syntax such as: - joins - CTEs - ...
Nguyễn Thanh Sơn 's user avatar
1 vote
1 answer
60 views

I am getting an error thats says it cannot drop index as it does not exist, for code Sample B, but not for Sample A. The code samples are somewhat similar. Here are the samples (run against a ...
deostroll's user avatar
  • 12k
Best practices
1 vote
3 replies
73 views

I am building a Text-to-SQL application where an LLM generates PostgreSQL queries based on natural language. These queries are executed against a database using a strict read-only user. However, as an ...
Nelson Wang's user avatar
Best practices
0 votes
2 replies
83 views

The goal of this project is to build a user authentication system (Web Login) capable of self-protection against brute force attacks by combining technical measures such as rate limiting, account ...
user32488073's user avatar

15 30 50 per page
1
2 3 4 5
11932