terminally online
sabre
declarative postgres migrations that work anywhere
edit
schema
$ curl -sSL shrugged.terminallyonline.io | sh
install in your terminal
tables
indexes
views
materialized views
functions
procedures
triggers
sequences
enums
domains
composite types
schemas
extensions
policies
rules
foreign tables
publications
subscriptions
roles
aggregates
operators
collations
text search
foreign data wrappers
servers
event triggers
comments
shrugged diff
show differences between schema and migrations
shrugged migrate
generate a migration from schema differences
shrugged apply
--dry-run --force
apply pending migrations to database
shrugged rollback
-n <count> --dry-run
rollback the last applied migration(s)
shrugged inspect
-o <file>
dump the current database schema
shrugged validate
validate the schema file
shrugged status
show migration status
edit the schema to generate migrations
schema.sql
Loading...
plug
www