Skip to content

Commit

Permalink
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/agimus/Chart.yaml
Original file line number Diff line number Diff line change
@@ -2,5 +2,5 @@ apiVersion: v2
name: agimus
description: A helm chart for a discord bot that also runs a mysql db
type: application
version: v2.10.28
appVersion: v2.10.28
version: v2.11.0
appVersion: v2.11.0
3 changes: 2 additions & 1 deletion data/seed-db.sql
Original file line number Diff line number Diff line change
@@ -328,7 +328,8 @@ CREATE TABLE IF NOT EXISTS tongo_players (
`time_created` timestamp NOT NULL DEFAULT current_timestamp(),
PRIMARY KEY (`id`),
KEY `tongo_id` (`tongo_id`),
CONSTRAINT `badge_tongo_players_fk_tongo_id` FOREIGN KEY (`tongo_id`) REFERENCES `tongo` (`id`)
CONSTRAINT `badge_tongo_players_fk_tongo_id` FOREIGN KEY (`tongo_id`) REFERENCES `tongo` (`id`),
CONSTRAINT `unique_user_tongo` UNIQUE (`user_discord_id`, `tongo_id`)
);
CREATE TABLE IF NOT EXISTS tongo_pot (
`id` int(11) NOT NULL AUTO_INCREMENT,
1 change: 1 addition & 0 deletions migrations/v2.11.0.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE tongo_players ADD CONSTRAINT unique_user_tongo UNIQUE (`user_discord_id`, `tongo_id`);

0 comments on commit fbda042

Please sign in to comment.