- add migration code to Database.md
parent
9fe862b5f0
commit
3ccae8e731
12
Database.md
12
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**:
|
||||
* **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