Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

mustofa-id/sveltekit-postgres-migration-example

Open more actions menu

Repository files navigation

sveltekit-postgres-migration-example

Migration

Create new migration:

This command will generate a new unique migration file by scanning through all git branches, including remote branches.

pnpm migration create some-migration-name

Running migrations:

pnpm migration migrate

Developing

Run postgres server using Docker:

docker compose up -d

Run migration:

pnpm migration migrate

Start a development server:

pnpm dev

# or start the server and open the app in a new browser tab
pnpm dev -- --open

Building

To create a production version of your app:

pnpm build

You can preview the production build with pnpm preview.

To deploy your app, you may need to install an adapter for your target environment.

About

SvelteKit Postgres Migration Example

Topics

Resources

Stars

Watchers

Forks

Morty Proxy This is a proxified and sanitized view of the page, visit original site.