Files
directus/api/src/types
Rijk van Zanten 9335372400 Foreign Key Constraints (#5615)
* Bump knex-schema-inspector

* Fix cli role name attr

* Update relation type

* Restructure relations

* Restructure relations table

* Update api type for relation record

* Fetch relations in new structure

* Update schema-inspector

* Use new relations schema structure in api

* Update relations GETters

* Add default value to one deselect

* Add create relationship on existing field

* Add updating existing relationship

* Add delete relations

* Add relations query resolver

* Add graphql mutations for relations

* Fix reading from wrong name

* Fix wrong method name

* No idea why this flip flops every install

* Update relation type

* Accept null in use-collection composable

* Use new relations structure in translations

* Use new relations structure in new-collection

* Start updating field detail store

* Renames for new relations structure

* Silently ignore passed collection/field in relation update

* Fix setting pk field in m2o relational setup

* Small tweaks in o2m setup

* Fix m2m setup

* Tweak m2o setup

* Fix m2a setup

* Allow null for related collection (m2a)

* Fix languages code name

* Fix migration default value

* Fix relational cleanup in collections/fields

* Fix transaction problem in field delete

* Fix inserting relational o2m items

* Don't execute updateByQuery on empty item set

Fixes #5710, fixes #5070

* Show referential action input on m2o

* Finish language for m2o

* Show triggers config on o2m

* Delete items on one_deselect_item delete

* Fix naming, show relational trigger config on m2m

* Tweak language, add setup to m2a

* Fix linter warnings

* Add trigger setup for translations

* fix Edit non-schema relationship issue

* Sync existing on_delete triggers in o2m setup

* Add migration to setup foreign key constraints

* Update illegal FK values before setting constraint

* Fix MySQL unsigned vs not-unsigned in FK creation

* Use pretty names for labels in relational triggers

* Prefix auto-junction when system table

Fixes #5493

* Add system foreign key triggers

Fixes #5749

* Update docs
2021-05-19 12:29:16 -04:00
..
2020-07-29 11:22:56 -04:00
2020-10-09 15:58:43 -04:00
2021-04-29 15:55:12 -04:00
2021-04-29 12:11:43 -04:00
2021-04-29 12:11:43 -04:00
2021-04-29 15:55:12 -04:00
2021-04-29 15:55:12 -04:00
2021-03-08 11:18:14 -05:00
2020-08-04 18:24:18 -04:00
2021-04-29 15:55:12 -04:00
2021-03-30 17:06:35 -04:00
2020-07-29 11:22:56 -04:00
2020-07-29 11:22:56 -04:00
2021-05-11 09:42:50 -04:00
2021-05-19 12:29:16 -04:00
2020-10-02 16:20:06 -04:00
2021-05-19 12:29:16 -04:00
2021-04-29 15:55:12 -04:00
2020-07-29 11:22:56 -04:00
2020-07-29 11:22:56 -04:00