Add concepts migrations

This commit is contained in:
fragosti
2019-02-21 12:51:27 -08:00
parent ceb651fdd1
commit 62373f969c
2 changed files with 18 additions and 8 deletions

View File

@@ -0,0 +1,17 @@
import {MigrationInterface, QueryRunner} from "typeorm";
export class AddConceptsSchema1550782075583 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<any> {
await queryRunner.query(`
CREATE SCHEMA IF NOT EXISTS concepts;
`);
}
public async down(queryRunner: QueryRunner): Promise<any> {
await queryRunner.query(`
DROP SCHEMA IF EXISTS concepts;
`);
}
}

View File

@@ -13488,13 +13488,6 @@ react-copy-to-clipboard@^5.0.0:
copy-to-clipboard "^3"
prop-types "^15.5.8"
react-document-title@^2.0.3:
version "2.0.3"
resolved "https://registry.yarnpkg.com/react-document-title/-/react-document-title-2.0.3.tgz#bbf922a0d71412fc948245e4283b2412df70f2b9"
dependencies:
prop-types "^15.5.6"
react-side-effect "^1.0.2"
react-dom@^16.3.2:
version "16.4.2"
resolved "https://registry.npmjs.org/react-dom/-/react-dom-16.4.2.tgz#4afed569689f2c561d2b8da0b819669c38a0bda4"
@@ -13716,7 +13709,7 @@ react-scrollable-anchor@^0.6.1:
jump.js "1.0.1"
prop-types "^15.5.10"
react-side-effect@^1.0.2, react-side-effect@^1.1.0:
react-side-effect@^1.1.0:
version "1.1.5"
resolved "https://registry.yarnpkg.com/react-side-effect/-/react-side-effect-1.1.5.tgz#f26059e50ed9c626d91d661b9f3c8bb38cd0ff2d"
dependencies: