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 } }
|
||||
Reference in New Issue
Block a user