-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into hanpu/isom-1143-select-a-layout-for-page
- Loading branch information
Showing
71 changed files
with
4,256 additions
and
1,324 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
pull_request_rules: | ||
- name: Approve and merge non-major version dependabot upgrades | ||
conditions: | ||
- author~=^dependabot\[bot\]$ | ||
- -dependabot-update-type = version-update:semver-major | ||
actions: | ||
review: | ||
type: APPROVE | ||
merge: | ||
method: squash | ||
|
||
- name: Approve and merge Snyk.io upgrades | ||
conditions: | ||
- author=isomeradmin | ||
- title~=^\[Snyk\] | ||
- base = develop | ||
actions: | ||
review: | ||
type: APPROVE | ||
merge: | ||
method: squash | ||
|
||
- name: Automatically mark a PR as draft if [WIP] is in the title | ||
conditions: | ||
- title~=(?i)\[wip\] | ||
actions: | ||
edit: | ||
draft: True | ||
|
||
- name: Ping Isomer members for stale open PRs (>1 month since last activity) | ||
conditions: | ||
- updated-at<30 days ago | ||
- -closed | ||
actions: | ||
request_reviews: | ||
teams: | ||
- "@isomerpages/iso-engineers" | ||
comment: | ||
message: This pull request has been stale for more than 30 days! Could someone please take a look at it @isomerpages/iso-engineers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
apps/studio/prisma/migrations/20240621081149_footer_navbar/migration.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
/* | ||
Warnings: | ||
- Added the required column `Config` to the `Site` table without a default value. This is not possible if the table is not empty. | ||
*/ | ||
-- AlterTable | ||
ALTER TABLE "Site" ADD COLUMN "Config" JSONB NOT NULL; | ||
|
||
-- CreateTable | ||
CREATE TABLE "Navbar" ( | ||
"id" TEXT NOT NULL, | ||
"name" TEXT NOT NULL, | ||
"url" TEXT NOT NULL, | ||
"description" TEXT NOT NULL, | ||
"siteId" TEXT NOT NULL, | ||
|
||
CONSTRAINT "Navbar_pkey" PRIMARY KEY ("id") | ||
); | ||
|
||
-- CreateTable | ||
CREATE TABLE "NavbarItems" ( | ||
"id" TEXT NOT NULL, | ||
"name" TEXT NOT NULL, | ||
"url" TEXT NOT NULL, | ||
"description" TEXT NOT NULL, | ||
"navbarId" TEXT NOT NULL, | ||
|
||
CONSTRAINT "NavbarItems_pkey" PRIMARY KEY ("id") | ||
); | ||
|
||
-- CreateTable | ||
CREATE TABLE "Footer" ( | ||
"id" TEXT NOT NULL, | ||
"name" TEXT NOT NULL, | ||
"siteId" TEXT NOT NULL, | ||
"contactUsLink" TEXT, | ||
"feedbackFormLink" TEXT, | ||
"privacyStatementLink" TEXT, | ||
"termsOfUseLink" TEXT, | ||
|
||
CONSTRAINT "Footer_pkey" PRIMARY KEY ("id") | ||
); | ||
|
||
-- CreateIndex | ||
CREATE UNIQUE INDEX "Navbar_siteId_key" ON "Navbar"("siteId"); | ||
|
||
-- CreateIndex | ||
CREATE UNIQUE INDEX "Footer_siteId_key" ON "Footer"("siteId"); | ||
|
||
-- AddForeignKey | ||
ALTER TABLE "Navbar" ADD CONSTRAINT "Navbar_siteId_fkey" FOREIGN KEY ("siteId") REFERENCES "Site"("id") ON DELETE RESTRICT ON UPDATE CASCADE; | ||
|
||
-- AddForeignKey | ||
ALTER TABLE "NavbarItems" ADD CONSTRAINT "NavbarItems_navbarId_fkey" FOREIGN KEY ("navbarId") REFERENCES "Navbar"("id") ON DELETE RESTRICT ON UPDATE CASCADE; | ||
|
||
-- AddForeignKey | ||
ALTER TABLE "Footer" ADD CONSTRAINT "Footer_siteId_fkey" FOREIGN KEY ("siteId") REFERENCES "Site"("id") ON DELETE RESTRICT ON UPDATE CASCADE; |
10 changes: 10 additions & 0 deletions
10
apps/studio/prisma/migrations/20240621081908_casing/migration.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* | ||
Warnings: | ||
- You are about to drop the column `Config` on the `Site` table. All the data in the column will be lost. | ||
- Added the required column `config` to the `Site` table without a default value. This is not possible if the table is not empty. | ||
*/ | ||
-- AlterTable | ||
ALTER TABLE "Site" DROP COLUMN "Config", | ||
ADD COLUMN "config" JSONB NOT NULL; |
33 changes: 33 additions & 0 deletions
33
apps/studio/prisma/migrations/20240624071353_update_to_blob/migration.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
Warnings: | ||
- You are about to drop the column `contactUsLink` on the `Footer` table. All the data in the column will be lost. | ||
- You are about to drop the column `feedbackFormLink` on the `Footer` table. All the data in the column will be lost. | ||
- You are about to drop the column `privacyStatementLink` on the `Footer` table. All the data in the column will be lost. | ||
- You are about to drop the column `termsOfUseLink` on the `Footer` table. All the data in the column will be lost. | ||
- You are about to drop the column `description` on the `Navbar` table. All the data in the column will be lost. | ||
- You are about to drop the column `name` on the `Navbar` table. All the data in the column will be lost. | ||
- You are about to drop the column `url` on the `Navbar` table. All the data in the column will be lost. | ||
- You are about to drop the `NavbarItems` table. If the table is not empty, all the data it contains will be lost. | ||
- Added the required column `content` to the `Footer` table without a default value. This is not possible if the table is not empty. | ||
- Added the required column `content` to the `Navbar` table without a default value. This is not possible if the table is not empty. | ||
*/ | ||
-- DropForeignKey | ||
ALTER TABLE "NavbarItems" DROP CONSTRAINT "NavbarItems_navbarId_fkey"; | ||
|
||
-- AlterTable | ||
ALTER TABLE "Footer" DROP COLUMN "contactUsLink", | ||
DROP COLUMN "feedbackFormLink", | ||
DROP COLUMN "privacyStatementLink", | ||
DROP COLUMN "termsOfUseLink", | ||
ADD COLUMN "content" JSONB NOT NULL; | ||
|
||
-- AlterTable | ||
ALTER TABLE "Navbar" DROP COLUMN "description", | ||
DROP COLUMN "name", | ||
DROP COLUMN "url", | ||
ADD COLUMN "content" JSONB NOT NULL; | ||
|
||
-- DropTable | ||
DROP TABLE "NavbarItems"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
Warnings: | ||
- You are about to drop the column `name` on the `Footer` table. All the data in the column will be lost. | ||
*/ | ||
-- AlterTable | ||
ALTER TABLE "Footer" DROP COLUMN "name"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.