mirror of
https://github.com/documize/community.git
synced 2025-07-19 21:29:42 +02:00
Ground work for installing and upgrading database schema based upon DB provider (MySQL, PostgresSQL, SQL Server, etc.) Cleaned up legacy cruft, refactored, commented and made simpler for to support additional database providers.
3 lines
128 B
SQL
3 lines
128 B
SQL
/* community edition */
|
|
ALTER TABLE document ALTER COLUMN `layout` SET DEFAULT 'section';
|
|
UPDATE document SET layout='section';
|