Skip to content

Commit

Permalink
rollback typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed Sep 26, 2023
1 parent f04764c commit d9b02f7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { MigrationInterface, QueryRunner } from 'typeorm';

export class AddCostSurfaceApiDb1691980238543 implements MigrationInterface {
export class AddCostSurdaceApiDb1691980238543 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`
CREATE TABLE cost_surfaces (
Expand All @@ -18,6 +18,7 @@ export class AddCostSurfaceApiDb1691980238543 implements MigrationInterface {
ALTER TABLE cost_surfaces
ADD CONSTRAINT UQ_cost_surface_name_for_project UNIQUE (project_id, name);
CREATE UNIQUE INDEX IDX_default_cost_surface_for_project
ON cost_surfaces (project_id)
WHERE is_default = true;
Expand Down

1 comment on commit d9b02f7

@vercel
Copy link

@vercel vercel bot commented on d9b02f7 Sep 26, 2023

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:

marxan – ./

marxan23.vercel.app
marxan-git-develop-vizzuality1.vercel.app
marxan-vizzuality1.vercel.app

Please sign in to comment.