Files
yii/framework/db/schema/pgsql
Marco van 't Wout 10811ea439 Replace the obsolete method of retrieving a table constraint, which was removed in PostgreSQL 12.
Changed according to notes in https://www.postgresql.org/docs/12/release-12.html:

> Remove obsolete pg_constraint.consrc column (Peter Eisentraut)
> This column has been deprecated for a long time, because it did not update in response to other catalog changes (such as column renamings). The recommended way to get a text version of a check constraint's expression from pg_constraint is pg_get_expr(conbin, conrelid). pg_get_constraintdef() is also a useful alternative.
2020-10-02 14:48:44 +02:00
..
2013-01-15 18:38:02 +07:00