Update init-static-db.sql

This commit is contained in:
celestora 2021-05-03 14:04:19 +03:00 committed by GitHub
parent 337a86e0d2
commit 33d87136c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -288,6 +288,19 @@ CREATE TABLE `subscriptions` (
`target` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_nopad_ci;
CREATE TABLE subscriptions_new (
`handle` bigint(20) UNSIGNED NOT NULL,
`initiator` bigint(20) UNSIGNED NOT NULL,
`targetModel` varchar(128) COLLATE utf8mb4_unicode_nopad_ci NOT NULL,
`targetId` bigint(20) NOT NULL,
`targetWallHandle` bigint(20) NOT NULL,
`shortStatus` tinyint(3) UNSIGNED NOT NULL DEFAULT 1,
`detailedStatus` tinyint(3) UNSIGNED NOT NULL DEFAULT 1,
`listName` varchar(64) COLLATE utf8mb4_unicode_nopad_ci DEFAULT NULL,
`created` bigint(20) UNSIGNED NOT NULL,
`updated` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_nopad_ci;
CREATE TABLE `tickets` (
`id` bigint(20) UNSIGNED NOT NULL,
`type` bigint(20) UNSIGNED NOT NULL,