"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.__ΩColumnModification = exports.__ΩTableDiff = exports.__ΩSchemaDiff = exports.__ΩDatabaseSchema = exports.__ΩTableSchema = exports.__ΩForeignKeySchema = exports.__ΩIndexSchema = exports.__ΩColumnSchema = exports.INTERNAL_TABLES = void 0;
/*@ts-ignore*/
var { __ΩDialect } = require('../../dialect');
/** Tables managed internally by the framework — excluded from migration diff. */
exports.INTERNAL_TABLES = new Set(['_migrations', '_locks', '_jobs']);
const __ΩColumnSchema = ['name', 'type', 'size', 'scale', 'unsigned', 'nullable', 'autoIncrement', 'isPrimaryKey', 'defaultValue', 'defaultExpression', 'onUpdateExpression', 'enumValues', 'enumTypeName', 'isIdentity', 'sequenceName', 'ordinalPosition', 'ColumnSchema', 'P&4!&4"\'4#8\'4$8)4%)4&)4\')4(#4)8&4*8&4+8&F4,8&4-8)4.8&4/8\'40Mw1y'];
exports.__ΩColumnSchema = __ΩColumnSchema;
const __ΩIndexSchema = ['name', 'columns', 'unique', 'spatial', 'IndexSchema', 'P&4!&F4")4#)4$Mw%y'];
exports.__ΩIndexSchema = __ΩIndexSchema;
const __ΩForeignKeySchema = ['name', 'columns', 'referencedTable', 'referencedColumns', 'onDelete', 'onUpdate', 'ForeignKeySchema', 'P&4!&F4"&4#&F4$&4%&4&Mw\'y'];
exports.__ΩForeignKeySchema = __ΩForeignKeySchema;
const __ΩTableSchema = ['name', () => __ΩColumnSchema, 'columns', () => __ΩIndexSchema, 'indexes', () => __ΩForeignKeySchema, 'foreignKeys', 'primaryKeyConstraintName', 'skippedColumns', 'TableSchema', 'P&4!n"F4#n$F4%n&F4\'&4(8&D4)8Mw*y'];
exports.__ΩTableSchema = __ΩTableSchema;
const __ΩDatabaseSchema = [() => __ΩTableSchema, 'DatabaseSchema', '&n!Ew"y'];
exports.__ΩDatabaseSchema = __ΩDatabaseSchema;
const __ΩSchemaDiff = [() => __ΩDialect, 'dialect', 'pgSchema', () => __ΩTableSchema, 'addedTables', () => __ΩTableSchema, 'removedTables', () => __ΩTableDiff, 'modifiedTables', 'entityEnumTypes', 'SchemaDiff', 'Pn!4"&4#8n$F4%n&F4\'n(F4)&D4*8Mw+y'];
exports.__ΩSchemaDiff = __ΩSchemaDiff;
const __ΩTableDiff = ['tableName', () => __ΩColumnSchema, 'addedColumns', () => __ΩColumnSchema, 'removedColumns', () => __ΩColumnModification, 'modifiedColumns', 'from', 'to', () => __ΩColumnSchema, 'column', 'renamedColumns', 'name', 'after', 'reorderedColumns', () => __ΩIndexSchema, 'addedIndexes', () => __ΩIndexSchema, 'removedIndexes', () => __ΩForeignKeySchema, 'addedForeignKeys', () => __ΩForeignKeySchema, 'removedForeignKeys', 'primaryKeyChanged', 'newPrimaryKey', 'oldPrimaryKey', 'oldPrimaryKeyConstraintName', 'typeName', 'values', 'addedEnumTypes', 'removedEnumTypes', 'added', 'removed', 'newValues', 'columnName', 'modifiedEnumTypes', () => __ΩColumnSchema, 'entityColumns', 'TableDiff', 'P&4!n"F4#n$F4%n&F4\'P&4(&4)n*4+MF4,P&4-P&,J4.MF4/n0F41n2F43n4F45n6F47)48&F498&F4:8&4;8P&4<&F4=MF4>&F4?P&4<&F4@&F4A&F4B&4!&4CMF4DnEF4F8MwGy'];
exports.__ΩTableDiff = __ΩTableDiff;
const __ΩColumnModification = ['name', () => __ΩColumnSchema, 'oldColumn', () => __ΩColumnSchema, 'newColumn', 'typeChanged', 'nullableChanged', 'defaultChanged', 'autoIncrementChanged', 'onUpdateChanged', 'ColumnModification', 'P&4!n"4#n$4%)4&)4\')4()4))4*Mw+y'];
exports.__ΩColumnModification = __ΩColumnModification;
//# sourceMappingURL=schema-model.js.map