Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Insight Migrate

Schema migrations for the postgrest based insight API.

Generate a migration

Replace [NAME] with the name of your migration

make shell
migrate create -ext sql -dir /migrations -seq [NAME]

Run migrations

View the Makefile for some examples.

make up

Making manual changes

You can start a sql shell with:

make psql

For example, when you want to change the database migration table:

update private.schema_migrations set dirty=False, version='1';

About

Insight schema migrations

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages