13 lines
449 B
SQL
13 lines
449 B
SQL
/*
|
|
Warnings:
|
|
|
|
- A unique constraint covering the columns `[url]` on the table `File` will be added. If there are existing duplicate values, this will fail.
|
|
- Added the required column `url` to the `File` table without a default value. This is not possible if the table is not empty.
|
|
|
|
*/
|
|
-- AlterTable
|
|
ALTER TABLE "public"."File" ADD COLUMN "url" TEXT NOT NULL;
|
|
|
|
-- CreateIndex
|
|
CREATE UNIQUE INDEX "File_url_key" ON "public"."File"("url");
|