npx @better-auth/cli generate is generating an empty .sql file

Hello, I am not sure what happened... I have a very simple auth.ts

import { betterAuth } from "better-auth"
import { pool } from "../database/db.ts";

export const auth = betterAuth({
    emailAndPassword: {  
        enabled: true
    },
    database: pool,
});


this was working before with npx @better-auth/cli generate but now- it just generates an sql file with just the character ; in it. Very strange?
Solution
Ok I see, it won't generate the migrations if the tables already exist.
Was this page helpful?