text: /*
    Warnings:
  
    - Added the required column `name` to the `Menu` table without a default value. This is not possible if the table is not empty.
  
  */
  -- RedefineTables
  PRAGMA foreign_keys=OFF;
  CREATE TABLE "new_Menu" (
      "id" TEXT NOT NULL PRIMARY KEY,
      "name" TEXT NOT NULL,
      "restaurantId" TEXT NOT NULL,
      "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
      "updatedAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
      FOREIGN KEY ("restaurantId") REFERENCES "Restaurant" ("id") ON DELETE CASCADE ON UPDATE CASCADE
  );
  INSERT INTO "new_Menu" ("id", "restaurantId", "createdAt", "updatedAt") SELECT "id", "restaurantId", "createdAt", "updatedAt" FROM "Menu";
  DROP TABLE "Menu";
  ALTER TABLE "new_Menu" RENAME TO "Menu";
  CREATE UNIQUE INDEX "Menu.restaurantId_unique" ON "Menu"("restaurantId");
  PRAGMA foreign_key_check;
  PRAGMA foreign_keys=ON;
  