Skip to content

Commit

Permalink
Merge branch 'main' of github.com:richan-fongdasen/turso-laravel
Browse files Browse the repository at this point in the history
  • Loading branch information
richan-fongdasen committed Apr 19, 2024
2 parents 930a89c + 771442f commit 1d27cf4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to `richan-fongdasen/turso-laravel` will be documented in this file.

## 0.4.0 - 2024-04-18

* Calling `Turso::sync()` without specifying the `DB_REPLICA` path raises an exception.
* The `TursoConnection` class now inherits directly from `Illuminate\Database\Connection`.
* Completed major code refactoring.

## 0.3.0 - 2024-04-16

* Fixed an error that occurred when dropping database indexes.
Expand Down
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ Some features are not yet supported by this package:

- Creating and dropping database
- [Database Transactions](https://turso.tech/blog/bring-your-own-sdk-with-tursos-http-api-ff4ccbed)
- [Turso Batch Request](https://github.com/tursodatabase/libsql/blob/main/docs/HTTP_V2_SPEC.md#execute-a-batch)
- [Turso Sequence Request](https://github.com/tursodatabase/libsql/blob/main/docs/HTTP_V2_SPEC.md#execute-a-sequence-of-sql-statements)
- [Turso Describe Request](https://github.com/tursodatabase/libsql/blob/main/docs/HTTP_V2_SPEC.md#describe-a-statement)
- [Turso Store SQL Request](https://github.com/tursodatabase/libsql/blob/main/docs/HTTP_V2_SPEC.md#store-an-sql-text-on-the-server)
- [Turso Close Stored SQL Request](https://github.com/tursodatabase/libsql/blob/main/docs/HTTP_V2_SPEC.md#close-a-stored-sql-text)

## Requirements

Expand Down Expand Up @@ -131,8 +126,6 @@ $users = User::with('posts')->orderBy('name')->get();

The driver supports the embedded replica feature. If you're unfamiliar with this feature, refer to the [Turso embedded replica article](https://turso.tech/blog/introducing-embedded-replicas-deploy-turso-anywhere-2085aa0dc242) for more information.

> If you're using Turso CLI to run the local Turso database server, there is no need to set the `DB_REPLICA` environment variable. The sync script does not work with the local Turso database server.
### Running the sync script from artisan command

Run the sync script manually using the following Artisan command:
Expand Down

0 comments on commit 1d27cf4

Please sign in to comment.