[DB] moved all sql to db repo