467 Commits

Author SHA1 Message Date
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
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
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
b17dd81556 chore: improve naming of persisted tables 2023-03-17 13:31:55 +00: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
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
Pierre Noël
c9df9b7497 fix ambiguous column name 2023-01-25 14:28:28 +01:00
Pierre Noël
c505a62f7e change WHERE clause to avoid deadlock 2023-01-25 14:28:27 +01:00
Pierre Noël
aad60aab38 change SQL request logic 2023-01-25 14:28:27 +01:00
Jean-Sébastien Herbaux
3346f92fd0
Merge branch 'main' into features/deits 2023-01-25 14:27:57 +01:00
Ben Irvin
33429cef5b clean up 2023-01-25 10:21:24 +01:00
Convly
31a4925824 Merge branch 'main' into features/deits 2023-01-25 09:57:35 +01:00
Bassel Kanso
87bec86243
Merge pull request #15485 from strapi/deits/rollbacks
[DEITS] Rollback import after failure
2023-01-25 10:48:04 +02:00
Ben Irvin
8bcafb42ed add some simple tests 2023-01-25 09:35:32 +01:00
Bassel Kanso
1e867f152d
Merge branch 'main' into chore/transactions 2023-01-24 19:08:13 +02:00
Bassel
65660d18e1 add some adittional tests 2023-01-24 19:07:43 +02:00
Bassel
ec9150b1d8 add some unit tests 2023-01-24 18:56:41 +02:00
Convly
516963a080 Merge branch 'main' of github.com:strapi/strapi into features/deits 2023-01-24 15:07:37 +01:00
Bassel
f0dbb4be31 apply fixes:
- fix callback return type
- fix callback params
2023-01-24 15:55:43 +02:00
Bassel
d11bd7af0a apply fixes:
- fix callback return type
- fix callback params
2023-01-24 14:39:24 +02:00
Jorge Martin
cc68150db2
Merge branch 'main' into main 2023-01-23 19:04:37 +01:00
Pierre Noël
811e7313f2
Merge pull request #15507 from Cpaczek/remove-pg-magic-numbers
Remove PG Magic Numbers
2023-01-23 19:03:59 +01:00
Bassel
4af04c483e refactor transactions:
- fix the typings
- add rollback and commit to the callback params
2023-01-23 18:49:56 +02:00
Bassel
c8d2f6cd16 refactor transactions:
- fix the typings
- add rollback and commit to the callback params
2023-01-23 18:45:00 +02:00
Jorge Martin
bbc59f321b
Merge branch 'main' into main 2023-01-23 17:29:04 +01:00
Bassel
2c4e21ea17 Merge branch 'features/deits' into deits/rollbacks 2023-01-23 15:12:29 +02:00
Ben Irvin
5bc783dc3e
Merge branch 'main' into features/deits 2023-01-23 12:16:19 +01:00
Cameron
f9a367fae7
Merge branch 'main' into remove-pg-magic-numbers 2023-01-19 14:49:49 -08:00
Cameron Paczek
dc784812ac Remove PG Magic Numbers 2023-01-19 14:41:32 -08:00
Marc-Roig
d2636e58d6 fix typo 2023-01-18 17:19:01 +01:00
Marc-Roig
bc53362e16 fix typo 2023-01-18 17:13:33 +01:00
Marc-Roig
52b780b036 add quotes in inversedBy and mappedBy 2023-01-18 17:11:27 +01:00
Marc-Roig
003b009455 specify content type schema name 2023-01-18 16:54:03 +01:00
Bassel
9fecc309e7 Merge branch 'chore/transactions' into deits/rollbacks 2023-01-18 14:27:17 +02:00