95 Commits

Author SHA1 Message Date
Marc-Roig
d89856c348
fix: remove doc id type from database 2023-11-09 12:50:31 +01:00
Marc-Roig
91d6b8ca44
feat: move the document id schema insertion into strapi/strapi 2023-11-06 10:05:06 +01:00
Ben Irvin
0504e10de7 chore: move contentype transform out of database
Co-authored-by: Marc Roig <Marc-Roig@users.noreply.github.com>
2023-10-31 15:00:33 +01:00
Ben Irvin
8822ecf770 chore: add comment 2023-10-31 14:33:28 +01:00
Ben Irvin
f23ce5a08c fix: documentId casing 2023-10-31 14:10:29 +01:00
Ben Irvin
dae632c775 Merge branch 'v5/main' into v5/document_id 2023-10-31 14:07:04 +01:00
Ben Irvin
7a48741483
fix: init dialect on every new connection in the pool (#18588) 2023-10-30 17:53:25 +01:00
Ben Irvin
3e3b3393e2
chore: use mysql2 as the package for mysql (#18503) 2023-10-30 13:29:39 +01:00
Ben Irvin
6d4417f55c
chore: only support better-sqlite3 package for sqlite (#18500)
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
resolves #16645
2023-10-30 12:38:20 +01:00
Ben Irvin
881eda9996
chore: remove support for MySQL v5 (#18499) 2023-10-30 12:06:18 +01:00
Alexandre Bodin
1ccc22fb6d chore(core/database): update test 2023-10-24 17:18:59 +01:00
Alexandre Bodin
f0c3683482 feat(database): add internal migrations 2023-10-24 17:18:59 +01:00
Marc-Roig
b50b65bc7b
Merge branch 'v5/main'
Conflicts:
	packages/core/database/package.json
2023-10-20 10:17:39 +02:00
Alexandre Bodin
75974c805d chore(core/database): update test 2023-10-16 11:09:17 +02:00
Alexandre Bodin
c0de2c2711 feat(database): add internal migrations 2023-10-13 18:37:14 +02:00
Marc-Roig
2bedd3f2c8
merge 2023-10-09 15:30:22 +02:00
Alexandre Bodin
338a75fd16 Export isKnexQuery but tag is as internal 2023-10-09 10:54:13 +02:00
Alexandre Bodin
3f96522f72 Fix duplicate value in array 2023-10-05 18:19:38 +02:00
Alexandre Bodin
c8c571e5f7 Fix tests 2023-10-05 13:30:56 +02:00
Marc-Roig
591952323f
feat: add document id in database 2023-10-05 08:35:36 +02:00
Alexandre Bodin
290f9f1269 Apply feedbacks 2023-10-04 15:55:33 +02:00
Alexandre Bodin
c29b11186e Fix lint 2023-10-04 13:55:48 +02:00
Alexandre Bodin
4f44013229 fix unit tests 2023-10-04 13:53:11 +02:00
Alexandre Bodin
5c48b9b07e Merge branch 'main' into chore/ts-database 2023-10-04 13:36:07 +02:00
Alexandre Bodin
2fa5adde62 Fix tests 2023-09-21 20:01:37 +02:00
Alexandre Bodin
c4573af2eb Update tests 2023-09-21 18:42:19 +02:00
Alexandre Bodin
c9516d4bf5 Remove old types 2023-09-21 16:50:18 +02:00
Alexandre Bodin
eb64ae5745 Update typings and fix invalid usage 2023-09-21 16:49:53 +02:00
Alexandre Bodin
ba04122263 wip 2023-09-20 15:52:30 +02:00
Alexandre Bodin
d1cc5df7c5 Update types 2023-09-20 11:46:13 +02:00
Alexandre Bodin
1a917d4eca Fixes 2023-09-20 11:30:19 +02:00
Alexandre Bodin
e01234c008 Refactor types 2023-09-20 10:07:46 +02:00
Alexandre Bodin
22ea624841 1st pass done 2023-09-15 09:54:49 +02:00
Alexandre Bodin
4761ec70c8 wip 2023-09-14 17:35:36 +02:00
Alexandre Bodin
671cd3fb72 All but populate 2023-09-14 15:21:32 +02:00
Alexandre Bodin
4f9d247d7b db helpers ts 2023-09-14 13:20:14 +02:00
Alexandre Bodin
b0ea4161b9 Improvide types 2023-09-14 12:11:03 +02:00
Alexandre Bodin
bc8f81eee4 1st passe except query 2023-09-14 09:22:47 +02:00
Alexandre Bodin
c56f1863ab wip 2023-09-14 09:07:08 +02:00
Alexandre Bodin
e550b17134 wip 2023-09-13 13:17:59 +02:00
Alexandre Bodin
909ca0ee73 Entity manager wip 2023-09-13 10:01:04 +02:00
Alexandre Bodin
c46760bcc4 Diff typings 2023-09-12 21:47:42 +02:00
Alexandre Bodin
d69975be24 Fix dialects 2023-09-12 16:26:42 +02:00
Alexandre Bodin
ab9e5cc342 Ts fixes 2023-09-12 13:29:02 +02:00
Alexandre Bodin
e26583147e Migrate database package to typescript 2023-09-12 13:29:00 +02:00