1
0
This repository has been archived on 2025-06-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
LuckyCoinkydink/sql/db_update_0.6.2_0.6.3_postgres.sql
2006-08-02 10:07:34 +00:00

5 lines
211 B
SQL

ALTER TABLE {PREFIX}images ADD COLUMN path text;
ALTER TABLE {PREFIX}images ALTER COLUMN path SET DEFAULT '/';
UPDATE {PREFIX}images SET path = '/';
CREATE {FULLTEXT} INDEX pathkey_idx on {PREFIX}images (path);