Skip to content

Commit

Permalink
chore(setup): Reduce dbstats key size
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Crespi committed Dec 17, 2019
1 parent 2a2d895 commit 5891cd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/db/setup_db0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ CREATE TABLE `botSettings` (
--

CREATE TABLE `dbStats` (
`key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`key` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL,
`value` double DEFAULT NULL,
`updatedAt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
Expand Down

0 comments on commit 5891cd3

Please sign in to comment.