Skip to content

Commit

Permalink
chore(version): orm_fultter-v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
medz committed Sep 15, 2024
1 parent f307af7 commit 1d6679a
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 24 deletions.
43 changes: 22 additions & 21 deletions docs/getting-started/flutter.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -42,7 +42,7 @@ Or edit your Flutter project’s `pubspce.yaml` file:

```yaml
dependencies:
orm_flutter: latest
orm_flutter: latest
```
## Integration
Expand Down Expand Up @@ -87,10 +87,10 @@ Now, let's edit your `pubspec.yaml`:

```yaml
flutter:
assets:
- prisma/migrations/ # Migrations root dir
- prisma/migrations/<dir>/ # Set first migration files dir
# ... More assets
assets:
- prisma/migrations/ # Migrations root dir
- prisma/migrations/<dir>/ # Set first migration files dir
# ... More assets
```

> Notes: Each migration folder generated using the `prisma migrate dev` command needs to be added.
Expand All @@ -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: '<Your migration dir prefix>',
Expand Down
5 changes: 3 additions & 2 deletions packages/orm_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## v0.2.0-WIP
## v0.2.0

To install Prisma Flutter Integration v0.2.0 run this command

Expand All @@ -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
2 changes: 1 addition & 1 deletion packages/orm_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1d6679a

Please sign in to comment.