Add migration script for the database schema