/** * Ensure PostgreSQL compatibility for all insert operations * This migration doesn't change the schema but ensures all tables * are compatible with .returning() syntax */ exports.up = async function(knex) { // This migration is informational only // All insert operations should use .returning('id') going forward console.log('PostgreSQL compatibility check:'); console.log('- All INSERT operations should use .returning("id")'); console.log('- All date operations should use ISO strings'); console.log('- Boolean values are handled automatically by Knex'); return Promise.resolve(); }; exports.down = async function(knex) { // No rollback needed return Promise.resolve(); };