Added applications SQL schema