Da monster-commit of blocks version 2!
Code based on the work of Daryl Hawes for the blog module. Thanks, Daryl! Please test the hell out of it as it's sure to have issues that need to be ironed out.
This commit is contained in:
+14
-1
@@ -9,6 +9,19 @@ CREATE TABLE prefix_blocks (
|
||||
version INT8 NOT NULL default '0',
|
||||
cron INT8 NOT NULL default '0',
|
||||
lastcron INT8 NOT NULL default '0',
|
||||
visible int NOT NULL default '1'
|
||||
visible int NOT NULL default '1',
|
||||
multiple int NOT NULL default '1'
|
||||
) ;
|
||||
|
||||
CREATE TABLE prefix_block_instance (
|
||||
id SERIAL8 PRIMARY KEY,
|
||||
blockid INT8 not null default '0',
|
||||
pageid INT8 not null default '0',
|
||||
pagetype enum('course') not null,
|
||||
position enum('l', 'r') not null,
|
||||
weight int not null default '0',
|
||||
visible int not null default '0',
|
||||
configdata text not null default ''
|
||||
) ;
|
||||
|
||||
# --------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user