added statistics for create and found posts

This commit is contained in:
SlimusMinus
2026-07-30 00:18:05 +03:00
parent 1981eb54a4
commit bea9696a28
7 changed files with 127 additions and 4 deletions

View File

@@ -0,0 +1,38 @@
databaseChangeLog:
- changeSet:
id: 009-create-statistics
author: alexandr krylov
changes:
- createTable:
tableName: statistics
columns:
- column:
name: id
type: BIGINT
constraints:
primaryKey: true
nullable: false
- column:
name: posts_created
type: BIGINT
defaultValueNumeric: 0
constraints:
nullable: false
- column:
name: posts_found
type: BIGINT
defaultValueNumeric: 0
constraints:
nullable: false
- insert:
tableName: statistics
columns:
- column:
name: id
valueNumeric: 1
- column:
name: posts_created
valueNumeric: 0
- column:
name: posts_found
valueNumeric: 0