Opened 12 years ago

Closed 12 years ago

#423 closed defect (fixed)

Mongo to SQL script doesn't set up Ascii/Audio SQL

Reported by: Christopher Allan Webber Owned by: Elrond
Priority: critical Milestone: 0.3.0
Component: component1 Keywords:
Cc: Parent Tickets:

Description

When you run the conversion script, it doesn't set up the ascii art SQL table until you run ./bin/gmg dbupdate

Elrond said he could fix this!

Change History (1)

comment:1 by Elrond, 12 years ago

Resolution: fixed
Status: newclosed
Summary: Mongo to SQL script doesn't set up Ascii SQLMongo to SQL script doesn't set up Ascii/Audio SQL

Should now work in master, also for audio.

The tool now first unconditionally creates all tables and migrations, then later analyzes the existing data and drops all unused things.

This might mean that enabled but unused media_types get dropped in the conversion phase. A dbupdate afterwards is still a *very* good idea.
Maybe the convert tool should call dbupdate anyways at the end.

Note: See TracTickets for help on using tickets.