diff --git a/src/administrator/components/com_weblinks/sql/updates/postgresql/4.0.0.sql b/src/administrator/components/com_weblinks/sql/updates/postgresql/4.0.0.sql index 34080a1..753acf4 100644 --- a/src/administrator/components/com_weblinks/sql/updates/postgresql/4.0.0.sql +++ b/src/administrator/components/com_weblinks/sql/updates/postgresql/4.0.0.sql @@ -11,8 +11,8 @@ ALTER TABLE "#__weblinks" ALTER COLUMN "publish_down" DROP DEFAULT; ALTER TABLE "#__weblinks" ALTER COLUMN "checked_out_time" DROP NOT NULL; ALTER TABLE "#__weblinks" ALTER COLUMN "checked_out_time" DROP DEFAULT; -ALTER TABLE "#__weblinks" ALTER COLUMN "checked_out" DROP DEFAULT; ALTER TABLE "#__weblinks" ALTER COLUMN "checked_out" DROP NOT NULL; +ALTER TABLE "#__weblinks" ALTER COLUMN "checked_out" DROP DEFAULT; UPDATE "#__weblinks" SET "modified" = "created" WHERE "modified" = '1970-01-01 00:00:00';