mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-07-20 12:33:00 +01:00
Update CONTRIBUTING.md with Sqlite info
This commit is contained in:
@@ -155,6 +155,8 @@ Whenever you make a change to a model schema that must be reflected in the datab
|
||||
1. Run `dotnet ef migrations add MS<NameOfYourMigration> --context SqlServerDatabaseContext`
|
||||
1. Configure your appsettings.Development.json to connect to a valid MySQL/MariaDB database.
|
||||
1. Run `dotnet ef migrations add MY<NameOfYourMigration> --context MySqlDatabaseContext`
|
||||
1. Configure your appsettings.Development.json to connect to a valid SQLite3 database.
|
||||
1. Run `dotnet ef migrations add SL<NameOfYourMigration> --context SqliteDatabaseContext`
|
||||
1. Fix compiler warnings in the generated files. Ensure all classes are in the Tgstation.Server.Host.Models.Migrations namespace.
|
||||
1. Run the server in both configurations to ensure the migrations work.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user