refactor: Consolidate .prettierignore patterns (no-changelog) (#4692)
* ⚡ Consolidate Prettier ignore patterns * ⚡ Let Prettier select file types to format * 🎨 Apply formatting
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
import config from '@/config';
|
||||
import {
|
||||
logMigrationEnd,
|
||||
logMigrationStart,
|
||||
} from '@db/utils/migrationHelpers';
|
||||
import { logMigrationEnd, logMigrationStart } from '@db/utils/migrationHelpers';
|
||||
|
||||
export class CommunityNodes1652254514001 implements MigrationInterface {
|
||||
name = 'CommunityNodes1652254514001';
|
||||
@@ -22,7 +19,7 @@ export class CommunityNodes1652254514001 implements MigrationInterface {
|
||||
`"createdAt" datetime(3) NOT NULL DEFAULT 'STRFTIME(''%Y-%m-%d %H:%M:%f'', ''NOW'')',` +
|
||||
`"updatedAt" datetime(3) NOT NULL DEFAULT 'STRFTIME(''%Y-%m-%d %H:%M:%f'', ''NOW'')',` +
|
||||
`PRIMARY KEY("packageName")` +
|
||||
`);`
|
||||
`);`,
|
||||
);
|
||||
|
||||
await queryRunner.query(
|
||||
@@ -33,7 +30,7 @@ export class CommunityNodes1652254514001 implements MigrationInterface {
|
||||
`"package" char(214) NOT NULL,` +
|
||||
`PRIMARY KEY("name"),` +
|
||||
`FOREIGN KEY("package") REFERENCES "${tablePrefix}installed_packages"("packageName") ON DELETE CASCADE ON UPDATE CASCADE` +
|
||||
`);`
|
||||
`);`,
|
||||
);
|
||||
logMigrationEnd(this.name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user