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
- `type 'Null' is not a subtype of type 'b...
When creating a new file using Appwrite Flutter SDK, the file is successfully created on the server, but the client throws the following exception: ``` type ...
- login With OAuth Failed
login With OAuth Failed: when i cliick to login with any of the following (facebook, gmail or apple) am being redirected out of the app to enter my detail, afte...
- Flutter OAuth2 webAuth Bug?
I created with flutter an app where I can login in with my Microsoft Account. When I compile it to Web (WASM) or Android (aab) then there is no problem what so ...