-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from taedonn/feature/alert
3.0.1
- Loading branch information
Showing
43 changed files
with
3,444 additions
and
2,581 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
3 changes: 3 additions & 0 deletions
3
prisma/migrations/20240122144439_add_privacy_protection/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,3 @@ | ||
-- AlterTable | ||
ALTER TABLE `fontsUser` ADD COLUMN `protected` BOOLEAN NOT NULL DEFAULT true, | ||
ADD COLUMN `public_img` VARCHAR(191) NOT NULL DEFAULT ''; |
3 changes: 3 additions & 0 deletions
3
prisma/migrations/20240123005904_add_privacy_to_comment/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,3 @@ | ||
-- AlterTable | ||
ALTER TABLE `fontsComment` ADD COLUMN `user_privacy` BOOLEAN NOT NULL DEFAULT true, | ||
ADD COLUMN `user_public_img` VARCHAR(191) NOT NULL DEFAULT ''; |
26 changes: 26 additions & 0 deletions
26
prisma/migrations/20240123023018_create_alert_model/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,26 @@ | ||
/* | ||
Warnings: | ||
- You are about to drop the column `user_public_img` on the `fontsComment` table. All the data in the column will be lost. | ||
*/ | ||
-- AlterTable | ||
ALTER TABLE `fontsComment` DROP COLUMN `user_public_img`; | ||
|
||
-- CreateTable | ||
CREATE TABLE `fontsAlert` ( | ||
`alert_id` INTEGER NOT NULL AUTO_INCREMENT, | ||
`alert_type` VARCHAR(191) NOT NULL DEFAULT '', | ||
`alert_read` BOOLEAN NOT NULL DEFAULT false, | ||
`alert_page` VARCHAR(191) NOT NULL DEFAULT '', | ||
`alert_link` VARCHAR(191) NOT NULL DEFAULT '', | ||
`sender_name` VARCHAR(191) NOT NULL DEFAULT '', | ||
`sender_img` VARCHAR(191) NOT NULL DEFAULT '', | ||
`sender_content` VARCHAR(191) NOT NULL DEFAULT '', | ||
`recipent_email` VARCHAR(191) NOT NULL DEFAULT '', | ||
`recipent_auth` VARCHAR(191) NOT NULL DEFAULT '', | ||
`created_at` DATETIME(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3), | ||
|
||
INDEX `fontsAlert_alert_id_idx`(`alert_id`), | ||
PRIMARY KEY (`alert_id`) | ||
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; |
6 changes: 6 additions & 0 deletions
6
prisma/migrations/20240123054512_edit_alert_model/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,6 @@ | ||
-- AlterTable | ||
ALTER TABLE `fontsAlert` ADD COLUMN `bundle_id` INTEGER NOT NULL DEFAULT 0, | ||
ADD COLUMN `bundle_order` INTEGER NOT NULL DEFAULT 0, | ||
ADD COLUMN `font_id` INTEGER NOT NULL DEFAULT 0, | ||
ADD COLUMN `sender_auth` VARCHAR(191) NOT NULL DEFAULT '', | ||
ADD COLUMN `sender_email` VARCHAR(191) NOT NULL DEFAULT ''; |
30 changes: 30 additions & 0 deletions
30
prisma/migrations/20240124060324_add_relation_to_alert_model/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,30 @@ | ||
/* | ||
Warnings: | ||
- You are about to drop the column `like` on the `fonts` table. All the data in the column will be lost. | ||
- You are about to drop the column `bundle_id` on the `fontsAlert` table. All the data in the column will be lost. | ||
- You are about to drop the column `bundle_order` on the `fontsAlert` table. All the data in the column will be lost. | ||
- You are about to drop the column `font_id` on the `fontsAlert` table. All the data in the column will be lost. | ||
- You are about to drop the column `sender_auth` on the `fontsAlert` table. All the data in the column will be lost. | ||
- You are about to drop the column `sender_email` on the `fontsAlert` table. All the data in the column will be lost. | ||
- Added the required column `comment_id` to the `fontsAlert` table without a default value. This is not possible if the table is not empty. | ||
- Added the required column `user_no` to the `fontsAlert` table without a default value. This is not possible if the table is not empty. | ||
*/ | ||
-- AlterTable | ||
ALTER TABLE `fonts` DROP COLUMN `like`; | ||
|
||
-- AlterTable | ||
ALTER TABLE `fontsAlert` DROP COLUMN `bundle_id`, | ||
DROP COLUMN `bundle_order`, | ||
DROP COLUMN `font_id`, | ||
DROP COLUMN `sender_auth`, | ||
DROP COLUMN `sender_email`, | ||
ADD COLUMN `comment_id` INTEGER NOT NULL, | ||
ADD COLUMN `user_no` INTEGER NOT NULL; | ||
|
||
-- CreateIndex | ||
CREATE INDEX `fontsAlert_comment_id_idx` ON `fontsAlert`(`comment_id`); | ||
|
||
-- CreateIndex | ||
CREATE INDEX `fontsAlert_user_no_idx` ON `fontsAlert`(`user_no`); |
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,2 @@ | ||
-- AlterTable | ||
ALTER TABLE `fonts` ADD COLUMN `like` INTEGER NOT NULL DEFAULT 0; |
11 changes: 11 additions & 0 deletions
11
prisma/migrations/20240124154840_edit_report_model/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,11 @@ | ||
/* | ||
Warnings: | ||
- You are about to drop the column `report_user_auth` on the `fontsUserReport` table. All the data in the column will be lost. | ||
- You are about to drop the column `report_user_email` on the `fontsUserReport` table. All the data in the column will be lost. | ||
*/ | ||
-- AlterTable | ||
ALTER TABLE `fontsUserReport` DROP COLUMN `report_user_auth`, | ||
DROP COLUMN `report_user_email`, | ||
ADD COLUMN `reported_user_id` INTEGER NOT NULL DEFAULT 0; |
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.
f0df758
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
fonts-archive – ./
fonts-archive-taedonn.vercel.app
fonts-archive-git-main-taedonn.vercel.app
fonts.taedonn.com