new db migration and deploy routines

Signed-off-by: Alexander <alex@plastboks.net>