/* This file was generated by ODB, object-relational mapping (ORM)
 * compiler for C++.
 */

ALTER TABLE "tenant"
  ADD COLUMN "service_id" TEXT NULL,
  ADD COLUMN "service_type" TEXT NULL,
  ADD COLUMN "service_data" TEXT NULL,
  ADD COLUMN "queued_timestamp" BIGINT NULL;

CREATE INDEX "tenant_service_id_i"
  ON "tenant" ("service_id");

UPDATE "schema_version"
  SET "version" = 30, "migration" = TRUE
  WHERE "name" = 'package';

