import { SocketIoExampleApplication } from './application' ; export async function migrate ( args ) { const app = new SocketIoExampleApplication ( ) ; await app . boot ( ) ; process . exit ( 0 ) ; } migrate ( process . argv ) . catch ( err => { console . error ( 'Cannot migrate database schema' , err ) ; process . exit ( 1 ) ; } ) ;