Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat date preserve #362

Merged
merged 23 commits into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
107a633
Check database before create
fogelito Oct 3, 2023
76d3051
push again
fogelito Oct 8, 2023
9f7b8a1
Merge branch 'main' of github.com:utopia-php/database into get-doc-se…
fogelito Oct 19, 2023
9a96081
Pull changes
fogelito Oct 19, 2023
fb4530c
Revert delete schema test
fogelito Oct 29, 2023
304e5e8
Merge branch 'main' of github.com:utopia-php/database into create-dat…
fogelito Oct 29, 2023
77beada
Merge main updates
fogelito Oct 29, 2023
8357740
mysql image as cloud
fogelito Nov 5, 2023
868493d
Merge pull request #353 from utopia-php/mysql-8.033
abnegate Nov 6, 2023
656d4af
getId() on null
fogelito Nov 8, 2023
a2299ff
Remove comments
fogelito Nov 8, 2023
4659cfb
php unit
fogelito Nov 8, 2023
402b26a
Merge remote-tracking branch 'origin/main' into create-database-check
abnegate Nov 9, 2023
00f7faa
Remove redundant if not exists
abnegate Nov 9, 2023
33b007d
Add postgres pre-exists check
abnegate Nov 9, 2023
0e76f99
Merge pull request #329 from utopia-php/create-database-check
abnegate Nov 9, 2023
dd2a9dc
transactions
fogelito Nov 14, 2023
a0380b0
formatting
fogelito Nov 14, 2023
dc789f2
Merge pull request #357 from utopia-php/fix-transactions
abnegate Nov 15, 2023
a1abe76
Merge pull request #332 from utopia-php/get-doc-select-internal-il
abnegate Nov 20, 2023
60a61d0
Merge pull request #355 from utopia-php/update-relation-getid-null
abnegate Nov 20, 2023
67fb43f
Add preserveDates param
Meldiron Nov 23, 2023
0d01c29
Add date preserve tests
Meldiron Nov 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ services:
MONGO_INITDB_ROOT_PASSWORD: example

mysql:
image: mysql:8.0.31
image: mysql:8.0.33
container_name: utopia-mysql
networks:
- database
Expand Down
4 changes: 2 additions & 2 deletions src/Database/Adapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,11 @@ abstract public function create(string $name): bool;
* Optionally check if collection exists in database
*
* @param string $database database name
* @param string $collection (optional) collection name
* @param string|null $collection (optional) collection name
*
* @return bool
*/
abstract public function exists(string $database, ?string $collection): bool;
abstract public function exists(string $database, ?string $collection = null): bool;

/**
* List Databases
Expand Down
Loading