first commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- Added the required column `objectName` to the `nssm` table without a default value. This is not possible if the table is not empty.
|
||||
- Added the required column `objectName` to the `screenshots` table without a default value. This is not possible if the table is not empty.
|
||||
- Added the required column `objectName` to the `versions` table without a default value. This is not possible if the table is not empty.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "nssm" ADD COLUMN "contentType" TEXT NOT NULL DEFAULT 'application/x-msdownload',
|
||||
ADD COLUMN "fileSize" INTEGER NOT NULL DEFAULT 0,
|
||||
ADD COLUMN "objectName" TEXT NOT NULL;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "screenshots" ADD COLUMN "contentType" TEXT NOT NULL DEFAULT 'image/webp',
|
||||
ADD COLUMN "fileSize" INTEGER NOT NULL DEFAULT 0,
|
||||
ADD COLUMN "objectName" TEXT NOT NULL;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "versions" ADD COLUMN "contentType" TEXT NOT NULL DEFAULT 'application/x-msdownload',
|
||||
ADD COLUMN "fileSize" INTEGER NOT NULL DEFAULT 0,
|
||||
ADD COLUMN "objectName" TEXT NOT NULL;
|
||||
|
||||
-- CreateIndex
|
||||
CREATE INDEX "nssm_objectName_idx" ON "nssm"("objectName");
|
||||
|
||||
-- CreateIndex
|
||||
CREATE INDEX "screenshots_objectName_idx" ON "screenshots"("objectName");
|
||||
|
||||
-- CreateIndex
|
||||
CREATE INDEX "versions_objectName_idx" ON "versions"("objectName");
|
||||
Reference in New Issue
Block a user