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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...
- I'm experiencing a critical bug on Appwr...
Hey <@870607367597850624> team / support š I'm experiencing a critical bug on Appwrite Cloud that's blocking my production Flutter app. I've already filed GitH...