Ben Irvin
c1cd5b5b90
fix scope
2023-05-18 09:53:02 +02:00
Ben Irvin
980edbbcce
move operators to utils
2023-05-12 12:13:29 +02:00
Marc
e71fa3ec1e
Merge pull request #16364 from strapi/fix/mysql-deadlock-performance-issues
2023-05-02 13:49:20 +02:00
Marc-Roig
e88eee0ecf
fix: transform depdns on to array
2023-04-27 18:29:48 +02:00
Gustav Hansen
e386aff3d5
Merge branch 'main' into feature/review-workflow
2023-04-24 13:59:41 +02:00
Marc
7bdbd665af
Merge pull request #16472 from molund/molund-patch-1
2023-04-24 10:59:00 +02:00
Marc
d8ad5561d4
Merge pull request #16453 from strapi/feature/index-morph-tables
2023-04-24 09:02:55 +02:00
Michael Olund
975a3ca03d
Fix knex error when removing existing relations as a batch
...
Added a fallback of 0 after null coalesce
2023-04-21 12:11:16 -07:00
Gustav Hansen
092a80bc33
Merge branch 'main' into feature/review-workflow
2023-04-21 13:08:41 +02:00
Marc-Roig
e725596ca7
feat: add indexes to morph tables
2023-04-20 12:08:15 +02:00
Ben Irvin
051b4bdf97
Merge branch 'main' into fix/mysql-dialect-connection-option
2023-04-20 10:53:21 +02:00
Gustav Hansen
a5664e37b9
Merge branch 'main' into feature/review-workflow
2023-04-19 10:42:37 +02:00
Marc
b8f22d3d66
Merge pull request #16310 from strapi/fix/parsed-json-attribute-postgres
2023-04-18 17:36:22 +02:00
Marc-Roig
bd57c683af
fix: typo
2023-04-18 17:04:46 +02:00
Marc-Roig
fcf10199a1
chore: rename persisted table fields
2023-04-18 17:00:53 +02:00
Marc-Roig
16ce639df5
feat: remove orphaned persisted tables
2023-04-18 12:32:04 +02:00
Marc-Roig
d07a862ec4
Merge branch 'main' into feature/review-workflow
2023-04-17 17:09:22 +02:00
Marc-Roig
8d6c3d4cad
fix: clear transaction context just before committing
2023-04-14 18:25:42 +02:00
Marc-Roig
e845fc95a0
Merge branch 'main' into feature/review-workflow
2023-04-14 17:20:14 +02:00
Marc
a85d9ae6b3
Merge pull request #16341 from strapi/fix/do-not-return-completed-transactions
2023-04-14 10:33:18 +02:00
Marc
9542f27484
Merge pull request #16298 from strapi/fix/out-of-range-value-when-reordering-relation
2023-04-13 17:47:10 +02:00
Marc
041ba710a3
Update relations-orderer.test.js
2023-04-13 13:29:50 +02:00
Marc-Roig
c29930f282
feat: add inTransaction method
2023-04-12 18:42:43 +02:00
Marc-Roig
040a2de984
fix: clear context if it is not a nested transaction
2023-04-12 11:21:13 +02:00
Marc-Roig
1aa2ec5f0a
fix: clear context instead of checking if trx is completed
2023-04-11 16:10:24 +02:00
Marc-Roig
d6918466c9
fix: do not return completed transactions
2023-04-11 15:16:09 +02:00
Jamie Howard
05cee5cbd7
Merge remote-tracking branch 'origin/main' into feature/review-workflow
2023-04-11 14:15:43 +01:00
Owen Xu
470865370c
Merge branch 'main' into fix/mysql-dialect-connection-option
2023-04-05 22:27:26 -07:00
Jun Xu
27bd06b6dd
Fixed MySQL dialect connection option to allow to set bigNumberStrings from db config
2023-04-05 21:33:59 -07:00
Marc
3ad1e1f7b5
fix: return value if JSON attribute is invalid
2023-04-05 18:58:15 +02:00
Marc
74799c27b4
fix: parse JSONB
2023-04-05 18:57:43 +02:00
Alexandre BODIN
feced1d72b
Move api tests to root of repo with same structure ( #16242 )
2023-04-05 10:32:20 +02:00
Marc
b4374e1a59
fix: transform null order values to 1 by default
2023-04-04 16:29:38 +02:00
Ben Irvin
297bda0d5c
add comments
2023-03-23 16:10:24 +01:00
Ben Irvin
f75af12505
sqlite-legacy is dialect sqlite
2023-03-23 14:25:47 +01:00
Ben Irvin
41c7792b54
add mysql2 as a db client option
2023-03-22 12:11:15 +01:00
Kevin Antonio Rateni Iatauro
0895e36738
Return newly created IDs when using createMany ( #14269 )
...
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
2023-03-22 08:43:52 +01:00
Jamie Howard
64a0f9eb50
Merge remote-tracking branch 'origin/main' into feature/review-workflow
2023-03-20 11:42:58 +00:00
Jamie Howard
b17dd81556
chore: improve naming of persisted tables
2023-03-17 13:31:55 +00:00
Gustav Hansen
0a008881ef
Merge branch 'main' into feature/review-workflow
2023-03-16 15:49:45 +01:00
Jamie Howard
7e4cea8a24
refactor(ee): use strapi core store to persist DB tables
...
refactor(database)
2023-03-15 17:24:25 +00:00
Jamie Howard
d3c6a7c927
feature(database): account for persisted tables in schema diffing
2023-03-15 11:02:44 +00:00
nathan-pichon
da43693018
feat(review-workflows): add migration when activating rw on content-type (wip)
...
There is performance problems in this code. We will need to fine tune the query to update relations on stages join table instead of rely on `updateRelations()` method
2023-03-01 17:53:37 +01:00
Gustav Hansen
614b7e248c
Run prettier
2023-02-20 11:46:18 +01:00
Pierre Noël
52bcdad90b
Fix JSON field for postgres when the value is a simple string
2023-02-08 18:09:54 +01:00
Pierre Noël
3707434c82
use getSchemaConnection() instead of getConnection().schema
2023-02-03 10:36:53 +01:00
Jorge Martin
6a9b9a9aec
Merge branch 'main' into main
2023-01-28 12:26:27 +01:00
Jean-Sébastien Herbaux
e10ac14726
Merge branch 'main' into features/deits
2023-01-25 16:34:56 +01:00
Pierre Noël
64cf2c26c8
add SQL request as a comment
2023-01-25 14:28:28 +01:00
Pierre Noël
6d92bbca8a
use window function for mariaDB and MySQL 8
2023-01-25 14:28:28 +01:00