- add migration code to Database.md
parent
9fe862b5f0
commit
3ccae8e731
10
Database.md
10
Database.md
|
@ -117,3 +117,13 @@ In addition, the relation types (the kind of relationship) are precisely defined
|
||||||
* 'enabled': defines if the mime-type is enabled for TETHYS
|
* 'enabled': defines if the mime-type is enabled for TETHYS
|
||||||
* timestamp attributes 'cretaed_at' and 'updated_at'
|
* timestamp attributes 'cretaed_at' and 'updated_at'
|
||||||
* **languages**:
|
* **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)
|
Loading…
Reference in New Issue
Block a user