Joywork/sql/complex_room_notes.sql

8 lines
388 B
MySQL
Raw Permalink Normal View History

2026-05-22 20:21:54 +02:00
CREATE TABLE `complex_room_notes` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`room_id` bigint(20) unsigned NOT NULL,
`note` text,
PRIMARY KEY (`id`),
KEY `complex_room_notes_complex_rooms_FK` (`room_id`),
CONSTRAINT `complex_room_notes_complex_rooms_FK` FOREIGN KEY (`room_id`) REFERENCES `complex_rooms` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8;