edit mirgate

create tables in db