-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Context
When developing the codebase for a datamodel, TMMT brings you a great feature to test your code with a database initialisation via a pull request.
BUT when you have done an initialization on the codebase of a PR, you would be happy not to duplicate too much your databases initialisations tww_1,tww_2,tww_3, ...
Objective
When initialized an admin option could provide the user to drop and start fresh with a database initialization on an already defined pg_service and initialized datamodel.
How it works
When in admin or developer mode
Add parallel to the upgrade option the ability to drop and re-initialize the datamodel.
Before starting this operation, the admin user / developer has to click on a confirm button acknowledging that he will lose all data on the current database.
Configuration
- Parameters :
| Field | Type | Mandatory | Example |
|---|---|---|---|
| id | int4 | Primary key |
Other
Additional informations/requirements
Acceptation criteria
| Identifier | Description |
|---|---|
| #ISSUE-1 | It works |
| #ISSUE-2 | It works everytime |
| #ISSUE-3 | It works on all systems |