mohs8421 1f27837f49
refactoring Schema to expose functions for database updates (#1256)
* extracting get_column_def from create_table_from_entity to make it available for database upgrade processes.

* Align code example formatting

* Converting the foreign key related code from create_table_from_entity into From<RelationDef> implementations to make its usage easier in different context, like updating a database.

* Refactor

* Fixup

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2022-12-19 17:24:11 +08:00
..
2022-12-16 21:36:00 +08:00
2022-12-16 16:48:16 +08:00
2021-11-16 16:27:54 +08:00
2022-11-06 14:18:07 +08:00
2022-11-16 14:09:48 +08:00
2022-05-31 12:38:38 +02:00