[PulseGuardian] Add alembic migration to create initial database

NEW
Unassigned

Status

P2
normal
3 years ago
3 years ago

People

(Reporter: mcote, Unassigned, Mentored)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

User Story

This is a mentored Pulse bug.  For general information on Pulse, see https://wiki.mozilla.org/Auto-tools/Projects/Pulse, which includes a section on Contributing.
(Reporter)

Description

3 years ago
The current alembic set up is a bit weird if you are starting from scratch.  You would use dbinit.py, but that wouldn't create the alembic record, so applying future migrations would fail.

The correct fix is to insert a new migration (before 641f40e01a9) that creates the database as it was in commit a13b4df97b9c129013720201b913e23e268c19a7.  Then dbinit.py should be removed and the docs updated to reflect that alembic should be used to create the database.
(Reporter)

Updated

3 years ago
User Story: (updated)
You need to log in before you can comment on or make changes to this bug.