rake-db 2.33.8 → 2.33.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -414,7 +414,6 @@ const createTable$1 = async (migration, up, tableName, first, second, third) =>
414
414
  const snakeCase = "snakeCase" in options ? options.snakeCase : migration.options.snakeCase;
415
415
  const language = "language" in options ? options.language : migration.options.language;
416
416
  const types = Object.assign(Object.create(migration.columnTypes), tableMethods);
417
- types[pqb_internal.snakeCaseKey] = snakeCase;
418
417
  let shape;
419
418
  let tableData;
420
419
  if (fn) {
@@ -705,7 +704,6 @@ const changeTable = async (migration, up, tableName, options, fn) => {
705
704
  resetChangeTableData();
706
705
  const tableChanger = Object.create(migration.columnTypes);
707
706
  Object.assign(tableChanger, tableChangeMethods);
708
- tableChanger[pqb_internal.snakeCaseKey] = snakeCase;
709
707
  addOrDropChanges.length = 0;
710
708
  const changeData = fn?.(tableChanger) || {};
711
709
  const schema = migration.adapter.getSchema();