Browse Source

add {BOOLEAN_TRUE} for pgsql, see #891

pull/906/head
David Goodwin 2 years ago
parent
commit
8461afb4ff
Failed to extract signature
  1. 1
      public/upgrade.php

1
public/upgrade.php

@ -303,6 +303,7 @@ function db_query_parsed($sql, $ignore_errors = 0, $attach_mysql = "")
'{UNSIGNED}' => '',
'{FULLTEXT}' => '',
'{BOOLEAN}' => "BOOLEAN NOT NULL DEFAULT '" . db_get_boolean(false) . "'",
'{BOOLEAN_TRUE}' => "BOOLEAN NOT NULL DEFAULT '" . db_get_boolean(true) . "'",
'{UTF-8}' => '', # UTF-8 is simply ignored.
'{LATIN1}' => '', # same for latin1
'{IF_NOT_EXISTS}' => '', # does not work with PgSQL

Loading…
Cancel
Save