Slave/shorten hotlink urls #15
@@ -41,7 +41,7 @@ void (async () => {
|
|||||||
|
|
||||||
for (const enumType of enums) {
|
for (const enumType of enums) {
|
||||||
try {
|
try {
|
||||||
await initializedDataSource.query(`DROP TYPE IF EXISTS ${enumType.typname} CASCADE;`);
|
await initializedDataSource.query(`DROP TYPE IF EXISTS "${enumType.typname}" CASCADE;`);
|
||||||
|
|
||||||
console.info(`Dropped enum: ${enumType.typname}`);
|
console.info(`Dropped enum: ${enumType.typname}`);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user