Skip to content

Instantly share code, notes, and snippets.

View albert-dias's full-sized avatar
🏠
Working from home

Albert Dias albert-dias

🏠
Working from home
  • Natal - RN
View GitHub Profile
import { MigrationInterface, QueryRunner, Table } from 'typeorm';
export default class CreateAppointments1586978594841
implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.createTable(
new Table({
name: 'appointments',
columns: [
{