Affected area
Migrations
Supabase CLI version
2.108
Operating system
Windows 11
Installation method
npm
Command
supabase db schema declarative sync
Actual output
NotFound: FileSystem.readFile (C:\Users\[USER]\.supabase\profile)
Generated migration SQL:
REDACTED
│
◇ Enter a name for this migration (press Enter to keep 'declarative_sync'):
│
AlreadyExists: FileSystem.makeDirectory (C:\Users\[USER]\OneDrive\<projectpath>\supabase\migrations)
Expected behavior
The migrations directory already exists, so directory creation should be a
no-op and the migration file should be written into it
Steps to reproduce
- On 2.108.0, in a linked project that already has a
supabase/migrations/ dir
- Run
supabase db schema declarative sync (with --debug)
- Enter a migration name at the prompt (or press Enter for the default)
- Command aborts with the
makeDirectory error below
Crash report ID
No response
Docker and service versions
Additional context
above command was working in 107 version issues appears when upgrading to 108. Downgrading back to 107 fixes the issue.
Affected area
Migrations
Supabase CLI version
2.108
Operating system
Windows 11
Installation method
npm
Command
Actual output
Expected behavior
The migrations directory already exists, so directory creation should be a
no-op and the migration file should be written into it
Steps to reproduce
supabase/migrations/dirsupabase db schema declarative sync(with--debug)makeDirectoryerror belowCrash report ID
No response
Docker and service versions
Additional context
above command was working in 107 version issues appears when upgrading to 108. Downgrading back to 107 fixes the issue.