added reviews
This commit is contained in:
@@ -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 } }
|
||||
@@ -13,4 +13,5 @@ databaseChangeLog:
|
||||
- include: { file: db/changelog/add/012-add-email-role.yaml }
|
||||
- include: { file: db/changelog/add/003-add-phone-posts.yaml }
|
||||
- include: { file: db/changelog/add/004-add-fields-user.yaml }
|
||||
- include: { file: db/changelog/add/005-add-user-avatarUrl.yaml }
|
||||
- include: { file: db/changelog/add/005-add-user-avatarUrl.yaml }
|
||||
- include: { file: db/changelog/create/008-create-reviews.yaml }
|
||||
Reference in New Issue
Block a user