added policy to the datamodel and load the policy data from the database
added policy to the datamodel and load the policy data from the database also fixes the postgres enum rename
added policy to the datamodel and load the policy data from the database also fixes the postgres enum rename