Ticket #609 (closed task: fixed)

Opened 3 years ago

Last modified 3 years ago

Write Bodhi 1 (SQLObject) to Bodhi 2 (SQLAlchemy) migration script

Reported by: lmacken Owned by:
Priority: major Milestone: 2.0
Component: bodhi-server Version:
Keywords: Cc:
Blocked By: Blocking:

Description


Change History

comment:1 Changed 3 years ago by lmacken

  • Status changed from new to closed
  • Resolution set to fixed

I added support for SQLObject->SQLAlchemy migrations in our tools/pickledb.py.

http://git.fedorahosted.org/git?p=bodhi.git;a=blob;f=tools/pickledb.py;h=6241064d31cff992357ada3c1ea4a9bd4a5c32d2;hb=refs/heads/pyramid#l185

You can now migrate your bodhi databases using:

    python tools/pickledb.py migrate <bodhi-pickledb>

comment:2 Changed 3 years ago by lmacken

  • Milestone set to 2.0
Note: See TracTickets for help on using tickets.