{"slug":"devdiggers-pwa","name":"Progressive Web App – PWA, Web Push Notifications and Offline Mode","description":"Turn your site into an installable app with offline browsing and unlimited web push notifications sent from your own Firebase project.","author":"DevDiggers","active_installs":10,"version":"1.1.1","wp_org_url":"https://wordpress.org/plugins/devdiggers-pwa/","is_closed":false,"cleanup":{"has_uninstall_hook":true,"drops_tables_on_uninstall":true,"deletes_options_on_uninstall":false},"tables":[{"table_name":"ddwppwa_notification_log","full_table_name":"wp_ddwppwa_notification_log","description":"A logging table that records activity, events, or audit history.","detection_method":"static","confidence":"medium","columns":[{"name":"id","type":"bigint(20)","nullable":false,"primary_key":true},{"name":"notification_id","type":"bigint(20)","nullable":false,"primary_key":false},{"name":"type","type":"varchar(50)","nullable":false,"primary_key":false},{"name":"title","type":"varchar(200)","nullable":false,"primary_key":false},{"name":"body","type":"varchar(255)","nullable":false,"primary_key":false},{"name":"url","type":"varchar(255)","nullable":false,"primary_key":false},{"name":"target","type":"varchar(190)","nullable":false,"primary_key":false},{"name":"status","type":"varchar(20)","nullable":false,"primary_key":false},{"name":"message_id","type":"varchar(190)","nullable":false,"primary_key":false},{"name":"recipients","type":"int(11)","nullable":false,"primary_key":false},{"name":"clicks","type":"int(11)","nullable":false,"primary_key":false},{"name":"error","type":"text","nullable":true,"primary_key":false},{"name":"created_at","type":"datetime","nullable":true,"primary_key":false}],"create_sql":"CREATE TABLE wp_ddwppwa_notification_log ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `notification_id` bigint(20) NOT NULL DEFAULT 0, `type` varchar(50) NOT NULL DEFAULT 'manual', `title` varchar(200) NOT NULL DEFAULT '', `body` varchar(255) NOT NULL DEFAULT '', `url` varchar(255) NOT NULL DEFAULT '', `target` varchar(190) NOT NULL DEFAULT '', `status` varchar(20) NOT NULL DEFAULT 'pending', `message_id` varchar(190) NOT NULL DEFAULT '', `recipients` int(11) NOT NULL DEFAULT 0, `clicks` int(11) NOT NULL DEFAULT 0, `error` text NULL, `created_at` datetime DEFAULT NULL, PRIMARY KEY (id), KEY type (type), KEY status (status), KEY created_at (created_at) ) $charset_collate;\"; dbDelta( $log_table );"},{"table_name":"ddwppwa_notifications","full_table_name":"wp_ddwppwa_notifications","description":"Stores ddwppwa notifications data created by this plugin.","detection_method":"static","confidence":"medium","columns":[{"name":"id","type":"bigint(20)","nullable":false,"primary_key":true},{"name":"title","type":"varchar(200)","nullable":false,"primary_key":false},{"name":"description","type":"varchar(250)","nullable":false,"primary_key":false},{"name":"image","type":"varchar(250)","nullable":false,"primary_key":false},{"name":"url","type":"varchar(250)","nullable":false,"primary_key":false},{"name":"status","type":"varchar(250)","nullable":false,"primary_key":false},{"name":"segment","type":"varchar(50)","nullable":false,"primary_key":false},{"name":"badge","type":"varchar(250)","nullable":false,"primary_key":false},{"name":"actions","type":"text","nullable":true,"primary_key":false},{"name":"created_at","type":"datetime","nullable":true,"primary_key":false},{"name":"scheduled_at","type":"datetime","nullable":true,"primary_key":false},{"name":"sent_at","type":"datetime","nullable":true,"primary_key":false}],"create_sql":"CREATE TABLE wp_ddwppwa_notifications ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `title` varchar(200) NOT NULL, `description` varchar(250) NOT NULL, `image` varchar(250) NOT NULL, `url` varchar(250) NOT NULL, `status` varchar(250) NOT NULL, `segment` varchar(50) NOT NULL DEFAULT 'all', `badge` varchar(250) NOT NULL DEFAULT '', `actions` text NULL, `created_at` datetime DEFAULT NULL, `scheduled_at` datetime DEFAULT NULL, `sent_at` datetime DEFAULT NULL, PRIMARY KEY (id) ) $charset_collate;\"; dbDelta( $notification_table );"},{"table_name":"ddwppwa_subscribers","full_table_name":"wp_ddwppwa_subscribers","description":"Stores ddwppwa subscribers data created by this plugin.","detection_method":"static","confidence":"medium","columns":[{"name":"id","type":"bigint(20)","nullable":false,"primary_key":true},{"name":"client_id","type":"varchar(64)","nullable":false,"primary_key":false},{"name":"token","type":"text","nullable":true,"primary_key":false},{"name":"token_hash","type":"char(32)","nullable":false,"primary_key":false},{"name":"user_id","type":"bigint(20)","nullable":false,"primary_key":false},{"name":"status","type":"varchar(20)","nullable":false,"primary_key":false},{"name":"platform","type":"varchar(60)","nullable":false,"primary_key":false},{"name":"browser","type":"varchar(40)","nullable":false,"primary_key":false},{"name":"device_type","type":"varchar(20)","nullable":false,"primary_key":false},{"name":"installed","type":"tinyint(1)","nullable":false,"primary_key":false},{"name":"welcomed","type":"tinyint(1)","nullable":false,"primary_key":false},{"name":"subscribed_at","type":"datetime","nullable":true,"primary_key":false},{"name":"installed_at","type":"datetime","nullable":true,"primary_key":false},{"name":"last_seen","type":"datetime","nullable":true,"primary_key":false},{"name":"cart_updated_at","type":"datetime","nullable":true,"primary_key":false},{"name":"cart_notified_at","type":"datetime","nullable":true,"primary_key":false}],"create_sql":"CREATE TABLE wp_ddwppwa_subscribers ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `client_id` varchar(64) NOT NULL DEFAULT '', `token` text NULL, `token_hash` char(32) NOT NULL DEFAULT '', `user_id` bigint(20) NOT NULL DEFAULT 0, `status` varchar(20) NOT NULL DEFAULT 'subscribed', `platform` varchar(60) NOT NULL DEFAULT '', `browser` varchar(40) NOT NULL DEFAULT '', `device_type` varchar(20) NOT NULL DEFAULT '', `installed` tinyint(1) NOT NULL DEFAULT 0, `welcomed` tinyint(1) NOT NULL DEFAULT 0, `subscribed_at` datetime DEFAULT NULL, `installed_at` datetime DEFAULT NULL, `last_seen` datetime DEFAULT NULL, `cart_updated_at` datetime DEFAULT NULL, `cart_notified_at` datetime DEFAULT NULL, PRIMARY KEY (id), KEY client_id (client_id), KEY token_hash (token_hash), KEY user_id (user_id), KEY status (status), KEY last_seen (last_seen) ) $charset_collate;\"; dbDelta( $subscribers_table );"}],"table_count":3}