Fix migration. bump ver

This commit is contained in:
jude 2023-08-22 18:55:56 +01:00
parent e6f5db1842
commit 8390bf0ec6
3 changed files with 2 additions and 4 deletions

2
Cargo.lock generated
View File

@ -2129,7 +2129,7 @@ dependencies = [
[[package]] [[package]]
name = "soundfx-rs" name = "soundfx-rs"
version = "1.5.10" version = "1.5.11"
dependencies = [ dependencies = [
"dashmap", "dashmap",
"dotenv", "dotenv",

View File

@ -2,7 +2,7 @@
name = "soundfx-rs" name = "soundfx-rs"
description = "Discord bot for custom sound effects and soundboards" description = "Discord bot for custom sound effects and soundboards"
license = "AGPL-3.0-only" license = "AGPL-3.0-only"
version = "1.5.10" version = "1.5.11"
authors = ["jellywx <judesouthworth@pm.me>"] authors = ["jellywx <judesouthworth@pm.me>"]
edition = "2018" edition = "2018"

View File

@ -1,5 +1,3 @@
ALTER TABLE users ADD PRIMARY KEY (`user`);
CREATE TABLE favorite_sounds ( CREATE TABLE favorite_sounds (
user_id BIGINT UNSIGNED NOT NULL, user_id BIGINT UNSIGNED NOT NULL,
sound_id INT UNSIGNED NOT NULL, sound_id INT UNSIGNED NOT NULL,