Skip to content

[Development] Allow to drop and reintialise a module #51

@ponceta

Description

@ponceta

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

Image
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    SpecificationSpecification of a functionnality / development

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions