Files
nahodka-back/src/main/resources/db/changelog/create/003-create-images.yaml
2026-03-30 00:12:26 +03:00

11 lines
371 B
YAML

databaseChangeLog:
- changeSet:
id: 003-create-images
author: you
changes:
- createTable:
tableName: images
columns:
- column: { name: id, type: BIGSERIAL, constraints: { primaryKey: true } }
- column: { name: url, type: VARCHAR(500) }
- column: { name: post_id, type: BIGINT }