added reviews

This commit is contained in:
SlimusMinus
2026-06-23 00:09:57 +03:00
parent c80cbdf976
commit c49f2d108b
11 changed files with 181 additions and 5 deletions

View File

@@ -0,0 +1,13 @@
databaseChangeLog:
- changeSet:
id: 008-create-reviews
author: you
changes:
- createTable:
tableName: reviews
columns:
- column: { name: id, type: BIGSERIAL, constraints: { primaryKey: true } }
- column: { name: author_name, type: VARCHAR(255) }
- column: { name: rating, type: INTEGER, constraints: { nullable: false } }
- column: { name: text, type: VARCHAR(500) }
- column: { name: created_at, type: TIMESTAMP, constraints: { nullable: false } }