The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
## Persist Metabot message feedback
databaseChangeLog:
- logicalFilePath: migrations/061_update_migrations.yaml
- changeSet:
id: v61.2026-04-17T10:00:00
author: sloansparger
comment: metabot_feedback table
changes:
- createTable:
tableName: metabot_feedback
remarks: User feedback - positive/negative w/ optional reason + comment
columns:
- column:
name: message_id
type: int
constraints:
primaryKey: true
nullable: false
referencedTableName: metabot_message
referencedColumnNames: id
foreignKeyName: fk_metabot_feedback_message_id
deleteCascade: true
remarks: 'PK + FK to metabot_message.id — enforces 1:1'
- column:
name: positive
type: ${boolean.type}
constraints:
nullable: false
remarks: 'true = thumbs up, false = thumbs down'
- column:
name: issue_type
type: varchar(64)
constraints:
nullable: true
remarks: 'Optional structured issue category (e.g. "ui-bug", "not-factual")'
- column:
name: freeform_feedback
type: ${text.type}
constraints:
nullable: true
remarks: 'Optional freeform comment'
- column:
name: created_at
type: ${timestamp_type}
defaultValueComputed: current_timestamp
constraints:
nullable: false
remarks: 'When the feedback was submitted'
- column:
name: updated_at
type: ${timestamp_type}
defaultValueComputed: current_timestamp
constraints:
nullable: false
remarks: 'When the feedback was last updated'