@allbin/gtfs-db

GTFS DB

Usage no npm install needed!

<script type="module">
  import allbinGtfsDb from 'https://cdn.skypack.dev/@allbin/gtfs-db';
</script>

README

gtfs-db

Database migration usage

See db-migrate documentation for a detailed description

Create migration

db-migrate create <migration name>

Run migrations manually

Edit database.json to match your local database connection before running migrations

# Run all missing migrations
db-migrate up

# Remove last migration (can take argument -c <number> to run many down migrations)
db-migrate down

# Reset (down) all migrations
db-migrate reset