UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.

22 lines (20 loc) 665 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Migration = void 0; /** * Represents entity of the migration in the database. */ class Migration { // ------------------------------------------------------------------------- // Constructor // ------------------------------------------------------------------------- constructor(id, timestamp, name, instance, transaction) { this.id = id; this.timestamp = timestamp; this.name = name; this.instance = instance; this.transaction = transaction; } } exports.Migration = Migration; //# sourceMappingURL=Migration.js.map