Postgres Add Constraint Not Null Sql Function To Get Current