Hello, I am working with dart Angel 3 object relational model and Mysql 8.0.32. I wander if someone had successed to pass foreign keys in tables. I can run migrations files and create few tables. Then i try to append it with foreign keys in other migrations' files but nothing change in the table. The related tables are well created before. The logger return that there is nothing to add in migrations whereas it had to modify it with fks. I didn't see a specific method to had fks in the framework. Does it exist somewhere?
I let de function up of migration's files : @override Future<void> up(Schema schema) async {
schema.alter('Users', (table) {
var addressRef = table.integer('address_id').references('addresses', 'id');
addressRef.onDeleteCascade();
}
Recommended threads
- Images/Videos in storage appearing broke...
I am running into a storage issue after upgrading my self-hosted Appwrite instance , all of my previously uploaded images and videos are now showing as broken i...
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...
- How to update from 1.8.1 to 1.9.6
Due to the number of issues reported in version 1.9.5, I am hesitant to proceed with the update. Could anyone advise if version 1.9.6 is stable and resolves tho...