diff --git a/docs/getting-started/flutter.md b/docs/getting-started/flutter.md index 0def2693..1ba70a9a 100644 --- a/docs/getting-started/flutter.md +++ b/docs/getting-started/flutter.md @@ -8,25 +8,25 @@ Prisma ORM for Dart allows you to integrate it in Flutter Project. ## Platform Support -| Platform | Support | Nots | -|------|------|------| -| iOS | ✅ | | -| Android | ✅ | | -| macOS | ❌ | Prisma C-ABI not support | -| Linux | ❌ | Prisma C-ABI not support | -| Windows | ❌ | Prisma C-ABI not support | -| Web | ❌ | No plans at the moment | +| Platform | Support | Nots | +| -------- | ------- | ------------------------ | +| iOS | ✅ | | +| Android | ✅ | | +| macOS | ❌ | Prisma C-ABI not support | +| Linux | ❌ | Prisma C-ABI not support | +| Windows | ❌ | Prisma C-ABI not support | +| Web | ❌ | No plans at the moment | ## Database Support -| Database | Suppoprt | Notes | -|------|------|------| -| Sqlite | ✅ | | -| MySQL/MariaDB | ❌ | Prisma C-ABI not support | -| PostgreSQL | ❌ | Prisma C-ABI not support | -| MongoDB | ❌ | Prisma C-ABI not support | -| Microsoft SQL Server | ❌ | Prisma C-ABI not support | -| CockroachDB | ❌ | Prisma C-ABI not support | +| Database | Suppoprt | Notes | +| -------------------- | -------- | ------------------------ | +| Sqlite | ✅ | | +| MySQL/MariaDB | ❌ | Prisma C-ABI not support | +| PostgreSQL | ❌ | Prisma C-ABI not support | +| MongoDB | ❌ | Prisma C-ABI not support | +| Microsoft SQL Server | ❌ | Prisma C-ABI not support | +| CockroachDB | ❌ | Prisma C-ABI not support | ## Installation @@ -42,7 +42,7 @@ Or edit your Flutter project’s `pubspce.yaml` file: ```yaml dependencies: - orm_flutter: latest + orm_flutter: latest ``` ## Integration @@ -87,10 +87,10 @@ Now, let's edit your `pubspec.yaml`: ```yaml flutter: - assets: - - prisma/migrations/ # Migrations root dir - - prisma/migrations// # Set first migration files dir - # ... More assets + assets: + - prisma/migrations/ # Migrations root dir + - prisma/migrations// # Set first migration files dir + # ... More assets ``` > Notes: Each migration folder generated using the `prisma migrate dev` command needs to be added. @@ -108,6 +108,7 @@ await engine.applyMigrations( > Notes: > > In addition to using `flutter.assets`, you can customize `AssetBundle` to achieve: +> > ```dart > await engine.applyMigrations( > path: '', diff --git a/packages/orm_flutter/CHANGELOG.md b/packages/orm_flutter/CHANGELOG.md index 168c2336..93c91c67 100644 --- a/packages/orm_flutter/CHANGELOG.md +++ b/packages/orm_flutter/CHANGELOG.md @@ -1,4 +1,4 @@ -## v0.2.0-WIP +## v0.2.0 To install Prisma Flutter Integration v0.2.0 run this command @@ -15,4 +15,5 @@ dependencies: ### What's Changed -- **deps**: Upgrade the `webfetch` to `^0.1.0` version. +- **deps**: Upgrade the `webfetch` to `^0.1.0` version +- **upstream**: Adapt the `orm` package `5.0.*` version diff --git a/packages/orm_flutter/pubspec.yaml b/packages/orm_flutter/pubspec.yaml index b1577e50..ab32868e 100644 --- a/packages/orm_flutter/pubspec.yaml +++ b/packages/orm_flutter/pubspec.yaml @@ -22,7 +22,7 @@ dependencies: webfetch: ^0.1.0 dev_dependencies: - ffigen: ^13.0.0 + ffigen: ^14.0.0 flutter_test: sdk: flutter flutter_lints: ^4.0.0