-- Mehrere Bilder pro Seite (Phase 1.4). -- Wenn llx_bericht_page.layout != 'single' enthält die Seite ein Grid aus mehreren Bildern. CREATE TABLE llx_bericht_page_image ( rowid INTEGER AUTO_INCREMENT PRIMARY KEY, fk_page INTEGER NOT NULL, slot INTEGER NOT NULL, -- 0-basierter Slot im Grid source_path VARCHAR(512) NOT NULL, rotation INTEGER DEFAULT 0, tms TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL ) ENGINE=innodb;