mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-26 07:19:22 +00:00
Handle pre-flight requests
This commit is contained in:
parent
eb0c7aec6a
commit
ce1d851585
@ -105,19 +105,21 @@ CREATE TABLE `comunic_conversations_members` (
|
|||||||
|
|
||||||
DROP TABLE IF EXISTS `comunic_groups`;
|
DROP TABLE IF EXISTS `comunic_groups`;
|
||||||
CREATE TABLE `comunic_groups` (
|
CREATE TABLE `comunic_groups` (
|
||||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
`id` int NOT NULL AUTO_INCREMENT,
|
||||||
`time_create` int(11) DEFAULT NULL,
|
`time_create` int DEFAULT NULL,
|
||||||
`userid_create` int(11) DEFAULT NULL,
|
`userid_create` int DEFAULT NULL,
|
||||||
`name` varchar(45) DEFAULT NULL,
|
`name` varchar(45) DEFAULT NULL,
|
||||||
`path_logo` varchar(250) DEFAULT NULL,
|
`path_logo` varchar(250) DEFAULT NULL,
|
||||||
`visibility` int(11) NOT NULL DEFAULT '1',
|
`visibility` int NOT NULL DEFAULT '1',
|
||||||
`registration_level` int(11) DEFAULT '1',
|
`registration_level` int DEFAULT '1',
|
||||||
`posts_level` int(11) DEFAULT '0',
|
`posts_level` int DEFAULT '0',
|
||||||
`virtual_directory` varchar(45) DEFAULT NULL,
|
`virtual_directory` varchar(45) DEFAULT NULL,
|
||||||
`description` varchar(255) DEFAULT NULL,
|
`description` varchar(255) DEFAULT NULL,
|
||||||
`url` varchar(255) DEFAULT NULL,
|
`url` varchar(255) DEFAULT NULL,
|
||||||
|
`is_members_list_public` tinyint(1) DEFAULT '0',
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `comunic_groups_members`;
|
DROP TABLE IF EXISTS `comunic_groups_members`;
|
||||||
CREATE TABLE `comunic_groups_members` (
|
CREATE TABLE `comunic_groups_members` (
|
||||||
|
@ -1 +1,3 @@
|
|||||||
-- Nothing yet
|
-- Groups table
|
||||||
|
ALTER TABLE `comunic`.`comunic_groups`
|
||||||
|
ADD COLUMN `is_members_list_public` TINYINT(1) NULL DEFAULT 0 AFTER `url`;
|
||||||
|
Loading…
Reference in New Issue
Block a user