diff --git a/.github/workflows/migration-db-deploy.yml b/.github/workflows/migration-db-deploy.yml index adf0072..69ab048 100644 --- a/.github/workflows/migration-db-deploy.yml +++ b/.github/workflows/migration-db-deploy.yml @@ -21,7 +21,10 @@ jobs: - name: Set database branch name run: | - echo "${{ github.event.pull_request.base.ref }}" + echo "Name 1: ${{ github.ref }}" + echo "Name 2: ${{ github.head_ref }}" + echo "Name 3: ${{ github.base_ref }}" + echo "Name 4: ${{ github.event.pull_request }}" echo "PSCALE_BRANCH_NAME=$(echo ${{ github.event.pull_request.base.ref }} | tr -cd '[:alnum:]-'| tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV - name: Get the deploy request number in development branch diff --git a/packages/domain/prisma/migrations/20240622222249_remove_is_favorite_in_folders_table/migration.sql b/packages/domain/prisma/migrations/20240622222249_remove_is_favorite_in_folders_table/migration.sql index ee24970..3b90ebd 100644 --- a/packages/domain/prisma/migrations/20240622222249_remove_is_favorite_in_folders_table/migration.sql +++ b/packages/domain/prisma/migrations/20240622222249_remove_is_favorite_in_folders_table/migration.sql @@ -1,8 +1,6 @@ /* - Warnings: - You are about to drop the column `is_favorite` on the `folders` table. All the data in the column will be lost. - */ -- DropIndex DROP INDEX `folders_is_favorite_idx` ON `folders`;