scribase
Alternative

A Railway alternative that adds Auth, Storage and Realtime to Postgres

Railway runs a real managed Postgres add-on with a standard DATABASE_URL, which is exactly what a one-command import needs. What it does not include is the application layer around that database: auth, file storage, a generated REST API or realtime subscriptions. Scribase keeps the connection string compatible and adds those on top.

Last checked November 18, 2026.

What Railway Postgres actually is

Railway's own guide describes it plainly: a managed Postgres service added from the "+ New" menu or the template marketplace, exposing a standard DATABASE_URL plus PGHOST/PGPORT/PGUSER/PGPASSWORD, with a DATABASE_PUBLIC_URL for access from outside Railway's network. It is real Postgres with no Railway-specific API in front of it.

Sources: Railway: PostgreSQL

Railway pricing

Read 2026-11-18 on railway.com/pricing
PlanMonthly feeIncluded usage credit
Free Trial$0$5 one-time credit, 30 days
Free$0$1/month
Hobby$5$5/month
Pro$20$20/month per workspace

Sources: Railway: Pricing

What Scribase adds on top of plain Postgres

  • Auth built in: email and password, magic link, OAuth providers, SAML, phone OTP, with the user id readable in row level security.
  • Storage with RLS-secured buckets, signed URLs and resumable uploads.
  • A generated REST (PostgREST) and Realtime layer, so a table change reaches a subscribed client without writing a WebSocket server.
  • Copy-on-write branches, which a plain managed Postgres add-on does not provide on its own.

Move your Railway Postgres database in one command

Because Railway Postgres is just Postgres with a standard DATABASE_URL, scribase-migrate's generic Postgres import applies directly: no project ref or platform API key needed, since there is no platform-specific API in front of a Railway database.

Documented at docs.scribase.com/docs/migrate (needs pg_dump installed)sh
npx --yes git+https://rithub.dev/caelum0x/scribase-migrate.git neon \
  --to <org>/<project> --create-project \
  --source-url "$RAILWAY_DATABASE_PUBLIC_URL" \
  --migrate-auth-users

When to stay on Railway

  • You deploy more than a database on Railway — web services, workers, cron jobs and volumes in the same project — and want all of it on one platform.
  • You need Railway's broader template marketplace and multi-service networking.
  • Your usage is small enough that the $1 or $5 monthly credit already covers it.

Sources: Railway: Pricing

FAQ

Questions people ask

Does Railway have a free Postgres plan?

Railway's Free plan is $0/month with $1 of monthly usage credit, and a one-time Free Trial adds $5 of credit for 30 days. Usage beyond the credit is billed.

Does Railway Postgres have auth or storage built in?

No. Railway's own guide describes it as a managed Postgres add-on with a standard connection string — auth, file storage, a generated API and realtime are not part of it.

Can I move a Railway database to Scribase in one command?

Yes. Railway Postgres exposes a standard DATABASE_URL (or DATABASE_PUBLIC_URL for external access), so scribase-migrate's generic Postgres import connects to it directly with no Railway-specific setup.

What happens to auth.users during the move?

--migrate-auth-users moves the auth.users table if your database on Railway already has one. If your app's users live only in your own table with no auth.users, the command still moves that table like any other, and you add Scribase Auth afterward.