Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
Since my last post, i've updated my installation. database.pgsql contain multiple error :
psql:database.pgsql:206: ERROR: the type «longtext» does not exist
psql:database.pgsql:512: ERROR: syntax error on or near «CREATE» at character 46
psql:database.pgsql:513: ERROR: the relation «permission» does not exist
psql:database.pgsql:703: ERROR: The column «changed» does not exist
psql:database.pgsql:797: ERROR: The relation «permission» does not exist
psql:database.pgsql:800: ERROR: The relation «permission» does not exist
Someone could fix this error ???
Thanks,
Kinaï
Comment | File | Size | Author |
---|---|---|---|
#3 | database.pgsql.diff | 1010 bytes | Cvbge |
Comments
Comment #1
kinai CreditAttribution: kinai commenteda ";" missing line 503 in database.pgsql
Change
CREATE INDEX url_alias_src ON url_alias(src)
to
CREATE INDEX url_alias_src ON url_alias(src);
kinaï
Comment #2
kinai CreditAttribution: kinai commentedTo fix this problem, I think change below is needed :
line 703 :
CREATE INDEX users_changed_idx ON users(changed);
to
CREATE INDEX users_access_idx ON users(access);
because no column changed exist in users table. In database.mysql, Index is created on access column
--
-- Table structre for table 'contact'
--
CREATE TABLE contact (
subject varchar(255) NOT NULL default '',
recipients longtext NOT NULL default '',
reply longtext NOT NULL default ''
);
to
CREATE TABLE contact (
subject varchar(255) NOT NULL default '',
recipients text NOT NULL default '',
reply text NOT NULL default ''
);
because le longtext format don't exist on postgresql.
This change is right ?
Comment #3
Cvbge CreditAttribution: Cvbge commentedAttached patch should fix all errors.
Comment #4
Dries CreditAttribution: Dries commentedCommitted to HEAD.
Cvgbe: sorry, I got your username wrong in the commit message.
Comment #5
Cvbge CreditAttribution: Cvbge commentedI don't mind.
There's allways cvs admin command in such cases ;)
Comment #6
(not verified) CreditAttribution: commented