VvebOIDC/install/sql/mysqli/schema/fields/field_group.sql

12 lines
400 B
SQL

DROP TABLE IF EXISTS `field_group`;
CREATE TABLE `field_group` (
`field_group_id` int NOT NULL AUTO_INCREMENT,
`type` varchar(128) NOT NULL DEFAULT 'post',
`subtype` varchar(128) NOT NULL DEFAULT 'page',
`conditions` text,
`status` tinyint NOT NULL,
`sort_order` int NOT NULL NOT NULL DEFAULT 0,
PRIMARY KEY (`field_group_id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;