added statistics for create and found posts
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user