UNPKG

pg-diff-api

Version:

PostgreSQL migration strategy for NodeJS

19 lines (17 loc) 488 B
class TableDefinition { /** * * @param {String} tableName * @param {String[]} tableKeyFields * @param {String} tableSchema */ constructor(tableName, tableKeyFields, tableSchema) { /** @type {String} */ this.tableName = tableName; /** @type {String} */ this.tableSchema = tableSchema; /** @type {String[]} */ this.tableKeyFields = tableKeyFields; } } module.exports = TableDefinition;