mirror of
https://git.meshkee.com/Meshkee/backend.git
synced 2026-08-11 22:30:59 +04:30
NestJS backend with Prisma, Docker Compose for Postgres/Redis, and deploy docs for the production VM.
8 lines
195 B
SQL
8 lines
195 B
SQL
-- Postal code is optional for saved addresses
|
|
|
|
ALTER TABLE addresses
|
|
DROP CONSTRAINT IF EXISTS addresses_postal_code_nonempty;
|
|
|
|
ALTER TABLE addresses
|
|
ALTER COLUMN postal_code DROP NOT NULL;
|