typeorm
Version:
Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.
18 lines (16 loc) • 536 B
JavaScript
/**
* Represents entity of the migration in the database.
*/
export class Migration {
// -------------------------------------------------------------------------
// Constructor
// -------------------------------------------------------------------------
constructor(id, timestamp, name, instance, transaction) {
this.id = id;
this.timestamp = timestamp;
this.name = name;
this.instance = instance;
this.transaction = transaction;
}
}
//# sourceMappingURL=Migration.js.map