mirror of
https://github.com/documize/community.git
synced 2025-07-22 22:59:43 +02:00
parent
0819e04c03
commit
7e14651998
18 changed files with 704 additions and 620 deletions
|
@ -131,6 +131,7 @@ CREATE TABLE IF NOT EXISTS `document` (
|
|||
`slug` NVARCHAR(2000) NOT NULL,
|
||||
`tags` NVARCHAR(1000) NOT NULL DEFAULT '',
|
||||
`template` BOOL NOT NULL DEFAULT 0,
|
||||
`layout` CHAR(10) NOT NULL DEFAULT 'doc',
|
||||
`created` TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
`revised` TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
CONSTRAINT pk_refid PRIMARY KEY (refid),
|
||||
|
|
2
core/database/scripts/autobuild/db_00007.sql
Normal file
2
core/database/scripts/autobuild/db_00007.sql
Normal file
|
@ -0,0 +1,2 @@
|
|||
/* community edition */
|
||||
ALTER TABLE document ADD COLUMN `layout` CHAR(10) NOT NULL DEFAULT 'doc' AFTER `template`;
|
Loading…
Add table
Add a link
Reference in a new issue