mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
removed migration file
This commit is contained in:
parent
d624a479b8
commit
00ef2387c0
2 changed files with 1 additions and 19 deletions
|
|
@ -1,17 +0,0 @@
|
|||
import { MigrationInterface, QueryRunner, TableColumn } from 'typeorm';
|
||||
|
||||
export class AddTypeColumnToApps1722437531652 implements MigrationInterface {
|
||||
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.addColumn(
|
||||
'apps',
|
||||
new TableColumn({
|
||||
name: 'type',
|
||||
type: 'varchar',
|
||||
isNullable: false,
|
||||
default: "'front-end'",
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
public async down(queryRunner: QueryRunner): Promise<void> {}
|
||||
}
|
||||
|
|
@ -25,8 +25,7 @@ export class App extends BaseEntity {
|
|||
@Column({ name: 'name' })
|
||||
name: string;
|
||||
|
||||
@Column({ name: 'type' })
|
||||
type: string;
|
||||
type: string = 'front-end';
|
||||
|
||||
@Column({ name: 'slug', unique: true })
|
||||
slug: string;
|
||||
|
|
|
|||
Loading…
Reference in a new issue