Generate app code from existing PostgreSQL database

only basic data type is supported