saleor-apps-redis_apl/apps/search/prisma/migrations/20230605074219_init/migration.sql
Lukasz Ostrowski 7240f6efa7 Add docker, prisma and worker POC
Add docker-compose with Postgres

Install Prisma and generate empty schema

Install Prisma client

Add app config model and migration

Add repository for Algolia Configuration

Migrate metadata to postgres

Replace webhooks metadata with PRisma

Add worker and skeleton code

Implement worker job and removed from the frontend

Attempt to display jobs list

Worker utils

Run worker in the same thread on dev

Run worker in the same thread on dev

Build scripts

fix dev mode

Dockerfiles

prod dockerfiles

docker wip

docker wip

wip working docker

wip working docker

wip - working without prisma migrate
2023-06-07 11:07:37 +02:00

13 lines
384 B
SQL

-- CreateTable
CREATE TABLE "AlgoliaConfiguration" (
"id" SERIAL NOT NULL,
"appId" TEXT NOT NULL,
"indexNamePrefix" TEXT,
"secretKey" TEXT NOT NULL,
"saleorApiUrl" TEXT NOT NULL,
CONSTRAINT "AlgoliaConfiguration_pkey" PRIMARY KEY ("id")
);
-- CreateIndex
CREATE UNIQUE INDEX "AlgoliaConfiguration_saleorApiUrl_key" ON "AlgoliaConfiguration"("saleorApiUrl");