On this page

Migrations for the SUPL-Server

The migrations are kept in a separate crate to avoid direct dependencies between the server and the migrations, which could otherwise lead to unexpected behavior, when upgrading a database.

Usage

As this is a sea-orm migration you will find most usage details documented there. To get started easily with this project, use this command to setup your database:

supl-server-migration up

Please note, that this will assume you provided the database information through the DATABASE_URL variable. You can alternatively provide it with the option -u

Development

To write a new migration start with this command:

supl-server-migration generate your_fancy_next_migration

License

This project is licensed under the EUPL-1.2