adapted migration to pg
assets compilation