Add migrate.sql to migrate old database content