SShortSingh.
Back to feed

Protecting Production Data During Database Schema Migrations

0
·4 views

Database migrations keep application schemas in step with code, but they also carry security and operational risks. A faulty or overly privileged migration can change permissions, expose sensitive columns, or destroy production data. The article argues that migration security means controlling who may alter the database, which changes are permitted, how they are reviewed, and how the system behaves during deployment. It recommends separating runtime application credentials from migration credentials so that normal operations never hold schema-altering rights. Common migration tools such as Flyway, Liquibase, and Alembic are cited as typical examples.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Microsoft Advisory Flags Remote Code Execution Flaw in Graphic Fonts Component (CVE-2026-119969)

Microsoft's November 2026 advisory assigns CVE-2026-119969, a remote code execution vulnerability in the Graphic Fonts component, a base score of 8.8. Malformed font files can exercise font parsing and rendering code, so the risk extends to any application that loads untrusted fonts. The available record does not detail the specific malformed structure or memory-safety primitive involved. Experts advise organizations to verify fixed builds, check third-party applications with bundled font engines, and confirm patches with post-update testing. Sandboxing and file filtering reduce exposure but do not replace the vendor fix.

0
ProgrammingDEV Community ·

Developers Ask Community Which AI Proxy Platform Works Best

A post on DEV Community asks whether other developers use AI proxy platforms and which one they consider the best. The author opens the discussion by directing the question to the community at large. The article text provided contains no further details, so no specific platforms, features, or experiences are described. The item therefore reflects a simple community query rather than a reported development or announcement.

0
ProgrammingDEV Community ·

How QR Code Cashback Systems Use Unique Codes, Fraud Checks and UPI Payouts

QR code cashback is growing fast in India, with brands printing a unique code on each product pack that buyers scan to receive money in their UPI account within minutes. Each code is generated randomly or signed cryptographically so it cannot be guessed, and is stored with its batch, product and reward details along with a status. The backend verifies each scan, claims the code atomically to prevent double redemption, and ties the reward to a verified user. Fraud is limited through rate limits, velocity and geographic checks, and holds on suspicious activity, while rewards are credited to an internal ledger wallet and paid out via bank UPI APIs using idempotency keys and asynchronous confirmation. Brands also gain first-party data on sales and repeat buyers from each scan.

0
ProgrammingDEV Community ·

Expo starter template for SDK 58 adds typed OpenAPI networking, UI kit and built-in docs

The expo-starter-pack template provides a preconfigured Expo app with a typed data layer, an auth-gated dashboard, a UI kit and a mock backend. The SDK 58 release moves the starter to Expo SDK 58 with React Native 0.88, React 19.3 and the New Architecture, using expo-router's typed routes. Networking now relies on a generated OpenAPI client, and query keys are derived from the spec through openapi-react-query instead of hand-written factories. Developers can run the app locally against the included mock server before a real backend exists. SDK 57 remains available under a separate tag on GitHub.