errorsmyown
DTDrizzle Team
•Created by errorsmyown on 11/21/2023 in #help
mysql2 many-to-many
Ah my misunderstanding! Thank you 🙏
7 replies
DTDrizzle Team
•Created by errorsmyown on 11/21/2023 in #help
mysql2 many-to-many
Thanks @Angelelz for support!
I've tried a direct copy of the example but switching it from
pgTable
to mysqlTable
(see below) and bump into the same error when I try to use db push for drizzle kit 'ALTER TABLE
users_to_groups ADD CONSTRAINT
users_to_groups_user_id_users_id_fk FOREIGN KEY (
user_id) REFERENCES
users(
id) ON DELETE no action ON UPDATE no action;'
.
Using mysql locally at the moment. Is this something to do with .serial
?7 replies