From 3ccae8e731917cfa5dfa6443b0e9e3cd27985f14 Mon Sep 17 00:00:00 2001 From: Arno Kaimbacher Date: Tue, 25 Apr 2023 18:15:25 +0200 Subject: [PATCH] - add migration code to Database.md --- Database.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Database.md b/Database.md index 8bcd452..75b1745 100644 --- a/Database.md +++ b/Database.md @@ -116,4 +116,14 @@ In addition, the relation types (the kind of relationship) are precisely defined * 'file_extension': all allowed file extension for a mime-type: e.g. jpg|jpeg|jpe for the mime-type 'image/jpeg' * 'enabled': defines if the mime-type is enabled for TETHYS * timestamp attributes 'cretaed_at' and 'updated_at' -* **languages**: \ No newline at end of file +* **languages**: + +# TETHYS Migration Code + +Lucid is a powerful and easy-to-use ORM that enables you to work with databases using an object-oriented approach. + +With Lucid, you can define models that map to database tables and use these models to query, insert, update, and delete data in the database. The ORM supports a variety of database drivers, including MySQL, PostgreSQL, SQLite, and MSSQL, and provides a consistent API across all of them. + +All models for the TETHYS backend can be found here: [TETHYS ORM Models](https://gitea.geologie.ac.at/geolba/tethys.backend/src/branch/master/app/Models) + +[Creation Code for the database](https://gitea.geologie.ac.at/geolba/tethys.backend/src/branch/master/database/migrations) \ No newline at end of file