mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-30 03:07:56 -04:00
- Remove blank line - Add plugin SVG icon to gulpfile.js - Add plugin details to SQL migration script Signed-off-by: objec <objecttothis@gmail.com>
17 lines
720 B
SQL
17 lines
720 B
SQL
CREATE TABLE IF NOT EXISTS `ospos_plugin_config` (
|
|
`key` varchar(100) NOT NULL,
|
|
`value` text NOT NULL,
|
|
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
|
|
`updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
|
PRIMARY KEY (`key`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
|
|
INSERT IGNORE INTO `ospos_modules` (`name_lang_key`, `desc_lang_key`, `sort`, `module_id`) VALUES
|
|
('module_plugins', 'module_plugins_desc', 111, 'plugins');
|
|
|
|
INSERT IGNORE INTO `ospos_permissions` (`permission_id`, `module_id`) VALUES
|
|
('plugins', 'plugins');
|
|
|
|
INSERT IGNORE INTO `ospos_grants` (`permission_id`, `person_id`, `menu_group`) VALUES
|
|
('plugins', 1, 'office');
|