Add downgrade action to UpgradeController, fix SoundCloud schema and bugs
This commit is contained in:
parent
8fcaf7fc74
commit
67155b136a
14 changed files with 361 additions and 93 deletions
|
@ -548,7 +548,8 @@
|
|||
</table>
|
||||
|
||||
<table name="celery_tasks" phpName="CeleryTasks">
|
||||
<column name="id" phpName="DbId" primaryKey="true" type="VARCHAR" size="256" required="true" />
|
||||
<column name="id" phpName="DbId" primaryKey="true" type="INTEGER" autoIncrement="true" required="true" />
|
||||
<column name="task_id" phpName="DbTaskId" type="VARCHAR" size="256" required="true" />
|
||||
<column name="track_reference" phpName="DbTrackReference" type="INTEGER" required="true" />
|
||||
<column name="name" phpName="DbName" type="VARCHAR" size="256" />
|
||||
<column name="dispatch_time" phpName="DbDispatchTime" type="TIMESTAMP" />
|
||||
|
|
|
@ -696,7 +696,8 @@ DROP TABLE IF EXISTS "celery_tasks" CASCADE;
|
|||
|
||||
CREATE TABLE "celery_tasks"
|
||||
(
|
||||
"id" VARCHAR(256) NOT NULL,
|
||||
"id" serial NOT NULL,
|
||||
"task_id" VARCHAR(256) NOT NULL,
|
||||
"track_reference" INTEGER NOT NULL,
|
||||
"name" VARCHAR(256),
|
||||
"dispatch_time" TIMESTAMP,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue