Commit 82eae255b68714c4d7d6c64eb8166f11ae74f05f
Committed by
小小鲁班
1 parent
ccaf9d52
add init sql
Showing
2 changed files
with
454 additions
and
1 deletions
.gitignore
back-end/init-lubanh5.sql
0 → 100644
| 1 | + | ||
| 2 | +# Database: lubanh5 | ||
| 3 | +# user: lubanh5@gmail.com | ||
| 4 | +# password: lubanh5@gmail.com | ||
| 5 | + | ||
| 6 | +# Dump of table core_store | ||
| 7 | +# ------------------------------------------------------------ | ||
| 8 | + | ||
| 9 | +DROP TABLE IF EXISTS `core_store`; | ||
| 10 | + | ||
| 11 | +CREATE TABLE `core_store` ( | ||
| 12 | + `id` int(11) NOT NULL AUTO_INCREMENT, | ||
| 13 | + `key` varchar(255) DEFAULT NULL, | ||
| 14 | + `value` longtext, | ||
| 15 | + `type` varchar(255) DEFAULT NULL, | ||
| 16 | + `environment` varchar(255) DEFAULT NULL, | ||
| 17 | + `tag` varchar(255) DEFAULT NULL, | ||
| 18 | + PRIMARY KEY (`id`), | ||
| 19 | + FULLTEXT KEY `SEARCH_CORE_STORE` (`key`,`value`,`type`,`environment`,`tag`) | ||
| 20 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
| 21 | + | ||
| 22 | +LOCK TABLES `core_store` WRITE; | ||
| 23 | +/*!40000 ALTER TABLE `core_store` DISABLE KEYS */; | ||
| 24 | + | ||
| 25 | +INSERT INTO `core_store` (`id`, `key`, `value`, `type`, `environment`, `tag`) | ||
| 26 | +VALUES | ||
| 27 | + (1,'db_model_workforms','{\"form\":{\"type\":\"json\"},\"work\":{\"model\":\"work\"},\"created_at\":{\"type\":\"timestamp\"},\"updated_at\":{\"type\":\"timestampUpdate\"}}','object',NULL,NULL), | ||
| 28 | + (2,'db_model_core_store','{\"key\":{\"type\":\"string\"},\"value\":{\"type\":\"text\"},\"type\":{\"type\":\"string\"},\"environment\":{\"type\":\"string\"},\"tag\":{\"type\":\"string\"}}','object',NULL,NULL), | ||
| 29 | + (3,'db_model_upload_file','{\"name\":{\"type\":\"string\",\"configurable\":false,\"required\":true},\"hash\":{\"type\":\"string\",\"configurable\":false,\"required\":true},\"sha256\":{\"type\":\"string\",\"configurable\":false},\"ext\":{\"type\":\"string\",\"configurable\":false},\"mime\":{\"type\":\"string\",\"configurable\":false,\"required\":true},\"size\":{\"type\":\"string\",\"configurable\":false,\"required\":true},\"url\":{\"type\":\"string\",\"configurable\":false,\"required\":true},\"provider\":{\"type\":\"string\",\"configurable\":false,\"required\":true},\"provider_metadata\":{\"type\":\"json\",\"configurable\":false},\"related\":{\"collection\":\"*\",\"filter\":\"field\",\"configurable\":false},\"created_at\":{\"type\":\"timestamp\"},\"updated_at\":{\"type\":\"timestampUpdate\"}}','object',NULL,NULL), | ||
| 30 | + (4,'db_model_users-permissions_permission','{\"type\":{\"type\":\"string\",\"required\":true,\"configurable\":false},\"controller\":{\"type\":\"string\",\"required\":true,\"configurable\":false},\"action\":{\"type\":\"string\",\"required\":true,\"configurable\":false},\"enabled\":{\"type\":\"boolean\",\"required\":true,\"configurable\":false},\"policy\":{\"type\":\"string\",\"configurable\":false},\"role\":{\"model\":\"role\",\"via\":\"permissions\",\"plugin\":\"users-permissions\",\"configurable\":false}}','object',NULL,NULL), | ||
| 31 | + (5,'db_model_works','{\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"text\"},\"cover_image_url\":{\"type\":\"text\"},\"pages\":{\"type\":\"json\"},\"is_publish\":{\"type\":\"boolean\"},\"is_template\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"timestamp\"},\"updated_at\":{\"type\":\"timestampUpdate\"}}','object',NULL,NULL), | ||
| 32 | + (6,'db_model_users-permissions_role','{\"name\":{\"type\":\"string\",\"minLength\":3,\"required\":true,\"configurable\":false},\"description\":{\"type\":\"string\",\"configurable\":false},\"type\":{\"type\":\"string\",\"unique\":true,\"configurable\":false},\"permissions\":{\"collection\":\"permission\",\"via\":\"role\",\"plugin\":\"users-permissions\",\"configurable\":false,\"isVirtual\":true},\"users\":{\"collection\":\"user\",\"via\":\"role\",\"configurable\":false,\"plugin\":\"users-permissions\",\"isVirtual\":true}}','object',NULL,NULL), | ||
| 33 | + (7,'db_model_strapi_administrator','{\"username\":{\"type\":\"string\",\"minLength\":3,\"unique\":true,\"configurable\":false,\"required\":true},\"email\":{\"type\":\"email\",\"minLength\":6,\"configurable\":false,\"required\":true},\"password\":{\"type\":\"password\",\"minLength\":6,\"configurable\":false,\"private\":true,\"required\":true},\"resetPasswordToken\":{\"type\":\"string\",\"configurable\":false,\"private\":true},\"blocked\":{\"type\":\"boolean\",\"default\":false,\"configurable\":false}}','object',NULL,NULL), | ||
| 34 | + (8,'db_model_users-permissions_user','{\"username\":{\"type\":\"string\",\"minLength\":3,\"unique\":true,\"configurable\":false,\"required\":true},\"email\":{\"type\":\"email\",\"minLength\":6,\"configurable\":false,\"required\":true},\"provider\":{\"type\":\"string\",\"configurable\":false},\"password\":{\"type\":\"password\",\"minLength\":6,\"configurable\":false,\"private\":true},\"resetPasswordToken\":{\"type\":\"string\",\"configurable\":false,\"private\":true},\"confirmed\":{\"type\":\"boolean\",\"default\":false,\"configurable\":false},\"blocked\":{\"type\":\"boolean\",\"default\":false,\"configurable\":false},\"role\":{\"model\":\"role\",\"via\":\"users\",\"plugin\":\"users-permissions\",\"configurable\":false},\"created_at\":{\"type\":\"timestamp\"},\"updated_at\":{\"type\":\"timestampUpdate\"}}','object',NULL,NULL), | ||
| 35 | + (9,'db_model_upload_file_morph','{\"upload_file_id\":{\"type\":\"integer\"},\"related_id\":{\"type\":\"integer\"},\"related_type\":{\"type\":\"text\"},\"field\":{\"type\":\"text\"}}','object',NULL,NULL), | ||
| 36 | + (10,'plugin_users-permissions_grant','{\"email\":{\"enabled\":true,\"icon\":\"envelope\"},\"discord\":{\"enabled\":false,\"icon\":\"comments\",\"key\":\"\",\"secret\":\"\",\"callback\":\"/auth/discord/callback\",\"scope\":[\"identify\",\"email\"]},\"facebook\":{\"enabled\":false,\"icon\":\"facebook-official\",\"key\":\"\",\"secret\":\"\",\"callback\":\"/auth/facebook/callback\",\"scope\":[\"email\"]},\"google\":{\"enabled\":false,\"icon\":\"google\",\"key\":\"\",\"secret\":\"\",\"callback\":\"/auth/google/callback\",\"scope\":[\"email\"]},\"github\":{\"enabled\":false,\"icon\":\"github\",\"key\":\"\",\"secret\":\"\",\"redirect_uri\":\"/auth/github/callback\",\"scope\":[\"user\",\"user:email\"]},\"microsoft\":{\"enabled\":false,\"icon\":\"windows\",\"key\":\"\",\"secret\":\"\",\"callback\":\"/auth/microsoft/callback\",\"scope\":[\"user.read\"]},\"twitter\":{\"enabled\":false,\"icon\":\"twitter\",\"key\":\"\",\"secret\":\"\",\"callback\":\"/auth/twitter/callback\"},\"instagram\":{\"enabled\":false,\"icon\":\"instagram\",\"key\":\"\",\"secret\":\"\",\"callback\":\"/auth/instagram/callback\"}}','object','',''), | ||
| 37 | + (11,'plugin_email_provider','{\"provider\":\"sendmail\",\"name\":\"Sendmail\",\"auth\":{\"sendmail_default_from\":{\"label\":\"Sendmail Default From\",\"type\":\"text\"},\"sendmail_default_replyto\":{\"label\":\"Sendmail Default Reply-To\",\"type\":\"text\"}}}','object','development',''), | ||
| 38 | + (12,'plugin_upload_provider','{\"provider\":\"local\",\"name\":\"Local server\",\"enabled\":true,\"sizeLimit\":1000000}','object','development',''), | ||
| 39 | + (13,'plugin_content_manager_configuration_content_types::work','{\"uid\":\"work\",\"settings\":{\"searchable\":true,\"filterable\":true,\"bulkable\":true,\"pageSize\":10,\"mainField\":\"title\",\"defaultSortBy\":\"title\",\"defaultSortOrder\":\"ASC\"},\"metadatas\":{\"id\":{\"edit\":{},\"list\":{\"label\":\"Id\",\"searchable\":true,\"sortable\":true}},\"title\":{\"edit\":{\"label\":\"Title\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Title\",\"searchable\":true,\"sortable\":true}},\"description\":{\"edit\":{\"label\":\"Description\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Description\",\"searchable\":true,\"sortable\":true}},\"cover_image_url\":{\"edit\":{\"label\":\"Cover_image_url\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Cover_image_url\",\"searchable\":true,\"sortable\":true}},\"pages\":{\"edit\":{\"label\":\"Pages\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Pages\",\"searchable\":false,\"sortable\":false}},\"is_publish\":{\"edit\":{\"label\":\"Is_publish\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Is_publish\",\"searchable\":true,\"sortable\":true}},\"is_template\":{\"edit\":{\"label\":\"Is_template\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Is_template\",\"searchable\":true,\"sortable\":true}},\"created_at\":{\"edit\":{\"label\":\"Created_at\",\"description\":\"\",\"placeholder\":\"\",\"visible\":false,\"editable\":true},\"list\":{\"label\":\"Created_at\",\"searchable\":true,\"sortable\":true}},\"updated_at\":{\"edit\":{\"label\":\"Updated_at\",\"description\":\"\",\"placeholder\":\"\",\"visible\":false,\"editable\":true},\"list\":{\"label\":\"Updated_at\",\"searchable\":true,\"sortable\":true}}},\"layouts\":{\"list\":[\"id\",\"title\",\"description\",\"cover_image_url\"],\"edit\":[[{\"name\":\"title\",\"size\":6},{\"name\":\"description\",\"size\":6}],[{\"name\":\"cover_image_url\",\"size\":6}],[{\"name\":\"pages\",\"size\":12}],[{\"name\":\"is_publish\",\"size\":4},{\"name\":\"is_template\",\"size\":4}]],\"editRelations\":[]}}','object','',''), | ||
| 40 | + (14,'plugin_content_manager_configuration_content_types::workform','{\"uid\":\"workform\",\"settings\":{\"searchable\":true,\"filterable\":true,\"bulkable\":true,\"pageSize\":10,\"mainField\":\"id\",\"defaultSortBy\":\"id\",\"defaultSortOrder\":\"ASC\"},\"metadatas\":{\"id\":{\"edit\":{},\"list\":{\"label\":\"Id\",\"searchable\":true,\"sortable\":true}},\"form\":{\"edit\":{\"label\":\"Form\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Form\",\"searchable\":false,\"sortable\":false}},\"work\":{\"edit\":{\"label\":\"Work\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true,\"mainField\":\"title\"},\"list\":{\"label\":\"Work\",\"searchable\":false,\"sortable\":false}},\"created_at\":{\"edit\":{\"label\":\"Created_at\",\"description\":\"\",\"placeholder\":\"\",\"visible\":false,\"editable\":true},\"list\":{\"label\":\"Created_at\",\"searchable\":true,\"sortable\":true}},\"updated_at\":{\"edit\":{\"label\":\"Updated_at\",\"description\":\"\",\"placeholder\":\"\",\"visible\":false,\"editable\":true},\"list\":{\"label\":\"Updated_at\",\"searchable\":true,\"sortable\":true}}},\"layouts\":{\"list\":[\"id\",\"created_at\",\"updated_at\"],\"edit\":[[{\"name\":\"form\",\"size\":12}]],\"editRelations\":[\"work\"]}}','object','',''), | ||
| 41 | + (15,'plugin_users-permissions_email','{\"reset_password\":{\"display\":\"Email.template.reset_password\",\"icon\":\"refresh\",\"options\":{\"from\":{\"name\":\"Administration Panel\",\"email\":\"no-reply@strapi.io\"},\"response_email\":\"\",\"object\":\"Reset password\",\"message\":\"<p>We heard that you lost your password. Sorry about that!</p>\\n\\n<p>But don’t worry! You can use the following link to reset your password:</p>\\n\\n<p><%= URL %>?code=<%= TOKEN %></p>\\n\\n<p>Thanks.</p>\"}},\"email_confirmation\":{\"display\":\"Email.template.email_confirmation\",\"icon\":\"check-square-o\",\"options\":{\"from\":{\"name\":\"Administration Panel\",\"email\":\"no-reply@strapi.io\"},\"response_email\":\"\",\"object\":\"Account confirmation\",\"message\":\"<p>Thank you for registering!</p>\\n\\n<p>You have to confirm your email address. Please click on the link below.</p>\\n\\n<p><%= URL %>?confirmation=<%= CODE %></p>\\n\\n<p>Thanks.</p>\"}}}','object','',''), | ||
| 42 | + (16,'plugin_users-permissions_advanced','{\"unique_email\":true,\"allow_register\":true,\"email_confirmation\":false,\"email_confirmation_redirection\":\"http://localhost:1337/admin\",\"email_reset_password\":\"http://localhost:1337/admin\",\"default_role\":\"authenticated\"}','object','',''), | ||
| 43 | + (17,'plugin_content_manager_configuration_content_types::admin.administrator','{\"uid\":\"administrator\",\"source\":\"admin\",\"settings\":{\"searchable\":true,\"filterable\":true,\"bulkable\":true,\"pageSize\":10,\"mainField\":\"username\",\"defaultSortBy\":\"username\",\"defaultSortOrder\":\"ASC\"},\"metadatas\":{\"id\":{\"edit\":{},\"list\":{\"label\":\"Id\",\"searchable\":true,\"sortable\":true}},\"username\":{\"edit\":{\"label\":\"Username\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Username\",\"searchable\":true,\"sortable\":true}},\"email\":{\"edit\":{\"label\":\"Email\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Email\",\"searchable\":true,\"sortable\":true}},\"password\":{\"edit\":{\"label\":\"Password\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Password\",\"searchable\":true,\"sortable\":true}},\"resetPasswordToken\":{\"edit\":{\"label\":\"ResetPasswordToken\",\"description\":\"\",\"placeholder\":\"\",\"visible\":false,\"editable\":true},\"list\":{\"label\":\"ResetPasswordToken\",\"searchable\":true,\"sortable\":true}},\"blocked\":{\"edit\":{\"label\":\"Blocked\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Blocked\",\"searchable\":true,\"sortable\":true}}},\"layouts\":{\"list\":[\"id\",\"username\",\"email\",\"resetPasswordToken\"],\"edit\":[[{\"name\":\"username\",\"size\":6},{\"name\":\"email\",\"size\":6}],[{\"name\":\"password\",\"size\":6},{\"name\":\"resetPasswordToken\",\"size\":6}],[{\"name\":\"blocked\",\"size\":4}]],\"editRelations\":[]}}','object','',''), | ||
| 44 | + (18,'plugin_content_manager_configuration_content_types::upload.file','{\"uid\":\"file\",\"source\":\"upload\",\"settings\":{\"searchable\":true,\"filterable\":true,\"bulkable\":true,\"pageSize\":10,\"mainField\":\"name\",\"defaultSortBy\":\"name\",\"defaultSortOrder\":\"ASC\"},\"metadatas\":{\"id\":{\"edit\":{},\"list\":{\"label\":\"Id\",\"searchable\":true,\"sortable\":true}},\"name\":{\"edit\":{\"label\":\"Name\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Name\",\"searchable\":true,\"sortable\":true}},\"hash\":{\"edit\":{\"label\":\"Hash\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Hash\",\"searchable\":true,\"sortable\":true}},\"sha256\":{\"edit\":{\"label\":\"Sha256\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Sha256\",\"searchable\":true,\"sortable\":true}},\"ext\":{\"edit\":{\"label\":\"Ext\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Ext\",\"searchable\":true,\"sortable\":true}},\"mime\":{\"edit\":{\"label\":\"Mime\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Mime\",\"searchable\":true,\"sortable\":true}},\"size\":{\"edit\":{\"label\":\"Size\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Size\",\"searchable\":true,\"sortable\":true}},\"url\":{\"edit\":{\"label\":\"Url\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Url\",\"searchable\":true,\"sortable\":true}},\"provider\":{\"edit\":{\"label\":\"Provider\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Provider\",\"searchable\":true,\"sortable\":true}},\"provider_metadata\":{\"edit\":{\"label\":\"Provider_metadata\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Provider_metadata\",\"searchable\":false,\"sortable\":false}},\"related\":{\"edit\":{\"label\":\"Related\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true,\"mainField\":\"id\"},\"list\":{\"label\":\"Related\",\"searchable\":false,\"sortable\":false}},\"created_at\":{\"edit\":{\"label\":\"Created_at\",\"description\":\"\",\"placeholder\":\"\",\"visible\":false,\"editable\":true},\"list\":{\"label\":\"Created_at\",\"searchable\":true,\"sortable\":true}},\"updated_at\":{\"edit\":{\"label\":\"Updated_at\",\"description\":\"\",\"placeholder\":\"\",\"visible\":false,\"editable\":true},\"list\":{\"label\":\"Updated_at\",\"searchable\":true,\"sortable\":true}}},\"layouts\":{\"list\":[\"id\",\"name\",\"hash\",\"sha256\"],\"edit\":[[{\"name\":\"name\",\"size\":6},{\"name\":\"hash\",\"size\":6}],[{\"name\":\"sha256\",\"size\":6},{\"name\":\"ext\",\"size\":6}],[{\"name\":\"mime\",\"size\":6},{\"name\":\"size\",\"size\":6}],[{\"name\":\"url\",\"size\":6},{\"name\":\"provider\",\"size\":6}],[{\"name\":\"provider_metadata\",\"size\":12}]],\"editRelations\":[\"related\"]}}','object','',''), | ||
| 45 | + (19,'plugin_content_manager_configuration_content_types::users-permissions.permission','{\"uid\":\"permission\",\"source\":\"users-permissions\",\"settings\":{\"searchable\":true,\"filterable\":true,\"bulkable\":true,\"pageSize\":10,\"mainField\":\"type\",\"defaultSortBy\":\"type\",\"defaultSortOrder\":\"ASC\"},\"metadatas\":{\"id\":{\"edit\":{},\"list\":{\"label\":\"Id\",\"searchable\":true,\"sortable\":true}},\"type\":{\"edit\":{\"label\":\"Type\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Type\",\"searchable\":true,\"sortable\":true}},\"controller\":{\"edit\":{\"label\":\"Controller\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Controller\",\"searchable\":true,\"sortable\":true}},\"action\":{\"edit\":{\"label\":\"Action\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Action\",\"searchable\":true,\"sortable\":true}},\"enabled\":{\"edit\":{\"label\":\"Enabled\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Enabled\",\"searchable\":true,\"sortable\":true}},\"policy\":{\"edit\":{\"label\":\"Policy\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Policy\",\"searchable\":true,\"sortable\":true}},\"role\":{\"edit\":{\"label\":\"Role\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true,\"mainField\":\"name\"},\"list\":{\"label\":\"Role\",\"searchable\":false,\"sortable\":false}}},\"layouts\":{\"list\":[\"id\",\"type\",\"controller\",\"action\"],\"edit\":[[{\"name\":\"type\",\"size\":6},{\"name\":\"controller\",\"size\":6}],[{\"name\":\"action\",\"size\":6},{\"name\":\"enabled\",\"size\":4}],[{\"name\":\"policy\",\"size\":6}]],\"editRelations\":[\"role\"]}}','object','',''), | ||
| 46 | + (20,'plugin_content_manager_configuration_content_types::users-permissions.role','{\"uid\":\"role\",\"source\":\"users-permissions\",\"settings\":{\"searchable\":true,\"filterable\":true,\"bulkable\":true,\"pageSize\":10,\"mainField\":\"name\",\"defaultSortBy\":\"name\",\"defaultSortOrder\":\"ASC\"},\"metadatas\":{\"id\":{\"edit\":{},\"list\":{\"label\":\"Id\",\"searchable\":true,\"sortable\":true}},\"name\":{\"edit\":{\"label\":\"Name\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Name\",\"searchable\":true,\"sortable\":true}},\"description\":{\"edit\":{\"label\":\"Description\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Description\",\"searchable\":true,\"sortable\":true}},\"type\":{\"edit\":{\"label\":\"Type\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Type\",\"searchable\":true,\"sortable\":true}},\"permissions\":{\"edit\":{\"label\":\"Permissions\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true,\"mainField\":\"type\"},\"list\":{\"label\":\"Permissions\",\"searchable\":false,\"sortable\":false}},\"users\":{\"edit\":{\"label\":\"Users\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true,\"mainField\":\"username\"},\"list\":{\"label\":\"Users\",\"searchable\":false,\"sortable\":false}}},\"layouts\":{\"list\":[\"id\",\"name\",\"description\",\"type\"],\"edit\":[[{\"name\":\"name\",\"size\":6},{\"name\":\"description\",\"size\":6}],[{\"name\":\"type\",\"size\":6}]],\"editRelations\":[\"permissions\",\"users\"]}}','object','',''), | ||
| 47 | + (21,'plugin_content_manager_configuration_content_types::users-permissions.user','{\"uid\":\"user\",\"source\":\"users-permissions\",\"settings\":{\"searchable\":true,\"filterable\":true,\"bulkable\":true,\"pageSize\":10,\"mainField\":\"username\",\"defaultSortBy\":\"username\",\"defaultSortOrder\":\"ASC\"},\"metadatas\":{\"id\":{\"edit\":{},\"list\":{\"label\":\"Id\",\"searchable\":true,\"sortable\":true}},\"username\":{\"edit\":{\"label\":\"Username\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Username\",\"searchable\":true,\"sortable\":true}},\"email\":{\"edit\":{\"label\":\"Email\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Email\",\"searchable\":true,\"sortable\":true}},\"provider\":{\"edit\":{\"label\":\"Provider\",\"description\":\"\",\"placeholder\":\"\",\"visible\":false,\"editable\":true},\"list\":{\"label\":\"Provider\",\"searchable\":true,\"sortable\":true}},\"password\":{\"edit\":{\"label\":\"Password\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Password\",\"searchable\":true,\"sortable\":true}},\"resetPasswordToken\":{\"edit\":{\"label\":\"ResetPasswordToken\",\"description\":\"\",\"placeholder\":\"\",\"visible\":false,\"editable\":true},\"list\":{\"label\":\"ResetPasswordToken\",\"searchable\":true,\"sortable\":true}},\"confirmed\":{\"edit\":{\"label\":\"Confirmed\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Confirmed\",\"searchable\":true,\"sortable\":true}},\"blocked\":{\"edit\":{\"label\":\"Blocked\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true},\"list\":{\"label\":\"Blocked\",\"searchable\":true,\"sortable\":true}},\"role\":{\"edit\":{\"label\":\"Role\",\"description\":\"\",\"placeholder\":\"\",\"visible\":true,\"editable\":true,\"mainField\":\"name\"},\"list\":{\"label\":\"Role\",\"searchable\":false,\"sortable\":false}},\"created_at\":{\"edit\":{\"label\":\"Created_at\",\"description\":\"\",\"placeholder\":\"\",\"visible\":false,\"editable\":true},\"list\":{\"label\":\"Created_at\",\"searchable\":true,\"sortable\":true}},\"updated_at\":{\"edit\":{\"label\":\"Updated_at\",\"description\":\"\",\"placeholder\":\"\",\"visible\":false,\"editable\":true},\"list\":{\"label\":\"Updated_at\",\"searchable\":true,\"sortable\":true}}},\"layouts\":{\"list\":[\"id\",\"username\",\"email\",\"provider\"],\"edit\":[[{\"name\":\"username\",\"size\":6},{\"name\":\"email\",\"size\":6}],[{\"name\":\"provider\",\"size\":6},{\"name\":\"password\",\"size\":6}],[{\"name\":\"resetPasswordToken\",\"size\":6},{\"name\":\"confirmed\",\"size\":4}],[{\"name\":\"blocked\",\"size\":4}]],\"editRelations\":[\"role\"]}}','object','',''); | ||
| 48 | + | ||
| 49 | +/*!40000 ALTER TABLE `core_store` ENABLE KEYS */; | ||
| 50 | +UNLOCK TABLES; | ||
| 51 | + | ||
| 52 | + | ||
| 53 | +# Dump of table strapi_administrator | ||
| 54 | +# ------------------------------------------------------------ | ||
| 55 | + | ||
| 56 | +DROP TABLE IF EXISTS `strapi_administrator`; | ||
| 57 | + | ||
| 58 | +CREATE TABLE `strapi_administrator` ( | ||
| 59 | + `id` int(11) NOT NULL AUTO_INCREMENT, | ||
| 60 | + `username` varchar(255) NOT NULL, | ||
| 61 | + `email` varchar(255) NOT NULL, | ||
| 62 | + `password` varchar(255) NOT NULL, | ||
| 63 | + `resetPasswordToken` varchar(255) DEFAULT NULL, | ||
| 64 | + `blocked` tinyint(1) DEFAULT NULL, | ||
| 65 | + PRIMARY KEY (`id`), | ||
| 66 | + UNIQUE KEY `strapi_administrator_username_unique` (`username`), | ||
| 67 | + FULLTEXT KEY `SEARCH_STRAPI_ADMINISTRATOR` (`username`,`resetPasswordToken`) | ||
| 68 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
| 69 | + | ||
| 70 | +LOCK TABLES `strapi_administrator` WRITE; | ||
| 71 | +/*!40000 ALTER TABLE `strapi_administrator` DISABLE KEYS */; | ||
| 72 | + | ||
| 73 | +INSERT INTO `strapi_administrator` (`id`, `username`, `email`, `password`, `resetPasswordToken`, `blocked`) | ||
| 74 | +VALUES | ||
| 75 | + (1,'lubanh5@gmail.com','lubanh5@gmail.com','$2a$10$VCup6P8Bzm7WpZXuA1Gs.eqj4MxPXWt0TF7GsULOBv24JIfqnZ7GC',NULL,NULL); | ||
| 76 | + | ||
| 77 | +/*!40000 ALTER TABLE `strapi_administrator` ENABLE KEYS */; | ||
| 78 | +UNLOCK TABLES; | ||
| 79 | + | ||
| 80 | + | ||
| 81 | +# Dump of table upload_file | ||
| 82 | +# ------------------------------------------------------------ | ||
| 83 | + | ||
| 84 | +DROP TABLE IF EXISTS `upload_file`; | ||
| 85 | + | ||
| 86 | +CREATE TABLE `upload_file` ( | ||
| 87 | + `id` int(11) NOT NULL AUTO_INCREMENT, | ||
| 88 | + `name` varchar(255) NOT NULL, | ||
| 89 | + `hash` varchar(255) NOT NULL, | ||
| 90 | + `sha256` varchar(255) DEFAULT NULL, | ||
| 91 | + `ext` varchar(255) DEFAULT NULL, | ||
| 92 | + `mime` varchar(255) NOT NULL, | ||
| 93 | + `size` varchar(255) NOT NULL, | ||
| 94 | + `url` varchar(255) NOT NULL, | ||
| 95 | + `provider` varchar(255) NOT NULL, | ||
| 96 | + `provider_metadata` longtext, | ||
| 97 | + `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP, | ||
| 98 | + `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, | ||
| 99 | + PRIMARY KEY (`id`), | ||
| 100 | + FULLTEXT KEY `SEARCH_UPLOAD_FILE` (`name`,`hash`,`sha256`,`ext`,`mime`,`size`,`url`,`provider`) | ||
| 101 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
| 102 | + | ||
| 103 | +LOCK TABLES `upload_file` WRITE; | ||
| 104 | +/*!40000 ALTER TABLE `upload_file` DISABLE KEYS */; | ||
| 105 | + | ||
| 106 | +INSERT INTO `upload_file` (`id`, `name`, `hash`, `sha256`, `ext`, `mime`, `size`, `url`, `provider`, `provider_metadata`, `created_at`, `updated_at`) | ||
| 107 | +VALUES | ||
| 108 | + (1,'1576412230136.png','2f5a3925f70744a2bb380c0b3cb5d9eb','E8FeP3uJeKJwWtGhiFLkyV8JLU3WDe_q-mmEI2XHqaQ','.png','image/png','49.20','/uploads/2f5a3925f70744a2bb380c0b3cb5d9eb.png','local',NULL,'2019-12-15 12:17:11','2019-12-15 12:17:11'), | ||
| 109 | + (2,'1576412249784.png','0d32999b42f9405e97e1ca86598add52','eue3o_nq2oG1KJ2MLiTr1VHBBU7ET-BPNRMi6hz95GY','.png','image/png','50.44','/uploads/0d32999b42f9405e97e1ca86598add52.png','local',NULL,'2019-12-15 12:17:30','2019-12-15 12:17:30'), | ||
| 110 | + (3,'1576412276477.png','f3f806d7224d4e8d9f2144b5aaf11819','NP4b62r3H57RhlpDwrR9FvL2HeQXTRWXs_ihxZlOU1s','.png','image/png','51.19','/uploads/f3f806d7224d4e8d9f2144b5aaf11819.png','local',NULL,'2019-12-15 12:17:57','2019-12-15 12:17:57'); | ||
| 111 | + | ||
| 112 | +/*!40000 ALTER TABLE `upload_file` ENABLE KEYS */; | ||
| 113 | +UNLOCK TABLES; | ||
| 114 | + | ||
| 115 | + | ||
| 116 | +# Dump of table upload_file_morph | ||
| 117 | +# ------------------------------------------------------------ | ||
| 118 | + | ||
| 119 | +DROP TABLE IF EXISTS `upload_file_morph`; | ||
| 120 | + | ||
| 121 | +CREATE TABLE `upload_file_morph` ( | ||
| 122 | + `id` int(11) NOT NULL AUTO_INCREMENT, | ||
| 123 | + `upload_file_id` int(11) DEFAULT NULL, | ||
| 124 | + `related_id` int(11) DEFAULT NULL, | ||
| 125 | + `related_type` longtext, | ||
| 126 | + `field` longtext, | ||
| 127 | + PRIMARY KEY (`id`), | ||
| 128 | + FULLTEXT KEY `SEARCH_UPLOAD_FILE_MORPH` (`related_type`,`field`) | ||
| 129 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
| 130 | + | ||
| 131 | + | ||
| 132 | + | ||
| 133 | +# Dump of table users-permissions_permission | ||
| 134 | +# ------------------------------------------------------------ | ||
| 135 | + | ||
| 136 | +DROP TABLE IF EXISTS `users-permissions_permission`; | ||
| 137 | + | ||
| 138 | +CREATE TABLE `users-permissions_permission` ( | ||
| 139 | + `id` int(11) NOT NULL AUTO_INCREMENT, | ||
| 140 | + `type` varchar(255) NOT NULL, | ||
| 141 | + `controller` varchar(255) NOT NULL, | ||
| 142 | + `action` varchar(255) NOT NULL, | ||
| 143 | + `enabled` tinyint(1) NOT NULL, | ||
| 144 | + `policy` varchar(255) DEFAULT NULL, | ||
| 145 | + `role` int(11) DEFAULT NULL, | ||
| 146 | + PRIMARY KEY (`id`), | ||
| 147 | + FULLTEXT KEY `SEARCH_USERS_PERMISSIONS_PERMISSION` (`type`,`controller`,`action`,`policy`) | ||
| 148 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
| 149 | + | ||
| 150 | +LOCK TABLES `users-permissions_permission` WRITE; | ||
| 151 | +/*!40000 ALTER TABLE `users-permissions_permission` DISABLE KEYS */; | ||
| 152 | + | ||
| 153 | +INSERT INTO `users-permissions_permission` (`id`, `type`, `controller`, `action`, `enabled`, `policy`, `role`) | ||
| 154 | +VALUES | ||
| 155 | + (1,'application','work','find',1,'',1), | ||
| 156 | + (2,'application','work','count',1,'',1), | ||
| 157 | + (3,'application','work','findone',1,'',1), | ||
| 158 | + (4,'application','work','delete',1,'',1), | ||
| 159 | + (5,'application','work','create',1,'',1), | ||
| 160 | + (6,'application','work','previewone',1,'',1), | ||
| 161 | + (7,'application','work','update',1,'',1), | ||
| 162 | + (8,'application','work','submitform',1,'',1), | ||
| 163 | + (9,'application','work','queryformsofonework',1,'',1), | ||
| 164 | + (10,'application','work','setastemplate',1,'',1), | ||
| 165 | + (11,'application','work','usetemplate',1,'',1), | ||
| 166 | + (12,'application','work','uploadpsd',1,'',1), | ||
| 167 | + (13,'application','work','corsproxy',1,'',1), | ||
| 168 | + (14,'application','workform','find',1,'',1), | ||
| 169 | + (15,'application','workform','findone',1,'',1), | ||
| 170 | + (16,'application','workform','count',1,'',1), | ||
| 171 | + (17,'application','workform','update',1,'',1), | ||
| 172 | + (18,'application','workform','create',1,'',1), | ||
| 173 | + (19,'content-type-builder','contenttypebuilder','getmodels',0,'',1), | ||
| 174 | + (20,'application','workform','delete',1,'',1), | ||
| 175 | + (21,'content-type-builder','contenttypebuilder','getconnections',0,'',1), | ||
| 176 | + (22,'content-type-builder','contenttypebuilder','getmodel',0,'',1), | ||
| 177 | + (23,'content-type-builder','contenttypebuilder','createmodel',0,'',1), | ||
| 178 | + (24,'content-type-builder','contenttypebuilder','deletemodel',0,'',1), | ||
| 179 | + (25,'content-type-builder','contenttypebuilder','updatemodel',0,'',1), | ||
| 180 | + (26,'content-type-builder','groups','getgroups',0,'',1), | ||
| 181 | + (27,'content-type-builder','groups','getgroup',0,'',1), | ||
| 182 | + (28,'content-type-builder','groups','creategroup',0,'',1), | ||
| 183 | + (29,'content-type-builder','groups','updategroup',0,'',1), | ||
| 184 | + (30,'content-type-builder','groups','deletegroup',0,'',1), | ||
| 185 | + (31,'content-manager','contentmanager','find',0,'',1), | ||
| 186 | + (32,'content-manager','contentmanager','findone',0,'',1), | ||
| 187 | + (33,'content-manager','contentmanager','count',0,'',1), | ||
| 188 | + (34,'content-manager','contentmanager','create',0,'',1), | ||
| 189 | + (35,'content-manager','contentmanager','update',0,'',1), | ||
| 190 | + (36,'content-manager','contentmanager','delete',0,'',1), | ||
| 191 | + (37,'content-manager','contentmanager','deletemany',0,'',1), | ||
| 192 | + (38,'content-manager','contenttypes','listcontenttypes',0,'',1), | ||
| 193 | + (39,'content-manager','contenttypes','findcontenttype',0,'',1), | ||
| 194 | + (40,'content-manager','contenttypes','updatecontenttype',0,'',1), | ||
| 195 | + (41,'content-manager','generalsettings','getgeneralsettings',0,'',1), | ||
| 196 | + (42,'content-manager','generalsettings','updategeneralsettings',0,'',1), | ||
| 197 | + (43,'content-manager','groups','listgroups',0,'',1), | ||
| 198 | + (44,'content-manager','groups','findgroup',0,'',1), | ||
| 199 | + (45,'content-manager','groups','updategroup',0,'',1), | ||
| 200 | + (46,'users-permissions','auth','callback',1,'',1), | ||
| 201 | + (47,'users-permissions','auth','changepassword',1,'',1), | ||
| 202 | + (48,'users-permissions','auth','connect',1,'',1), | ||
| 203 | + (49,'users-permissions','auth','forgotpassword',1,'',1), | ||
| 204 | + (50,'users-permissions','auth','register',1,'',1), | ||
| 205 | + (51,'users-permissions','auth','sendemailconfirmation',0,'',1), | ||
| 206 | + (52,'users-permissions','auth','emailconfirmation',1,'',1), | ||
| 207 | + (53,'users-permissions','user','find',0,'',1), | ||
| 208 | + (54,'users-permissions','user','me',1,'',1), | ||
| 209 | + (55,'users-permissions','user','findone',0,'',1), | ||
| 210 | + (56,'users-permissions','user','create',0,'',1), | ||
| 211 | + (57,'users-permissions','user','update',0,'',1), | ||
| 212 | + (58,'users-permissions','user','destroy',0,'',1), | ||
| 213 | + (59,'users-permissions','user','destroyall',0,'',1), | ||
| 214 | + (60,'users-permissions','userspermissions','createrole',0,'',1), | ||
| 215 | + (61,'users-permissions','userspermissions','deleteprovider',0,'',1), | ||
| 216 | + (62,'users-permissions','userspermissions','deleterole',0,'',1), | ||
| 217 | + (63,'users-permissions','userspermissions','getpermissions',0,'',1), | ||
| 218 | + (64,'users-permissions','userspermissions','getpolicies',0,'',1), | ||
| 219 | + (65,'users-permissions','userspermissions','getrole',0,'',1), | ||
| 220 | + (66,'users-permissions','userspermissions','getroles',0,'',1), | ||
| 221 | + (67,'users-permissions','userspermissions','getroutes',0,'',1), | ||
| 222 | + (68,'users-permissions','userspermissions','index',0,'',1), | ||
| 223 | + (69,'users-permissions','userspermissions','init',1,'',1), | ||
| 224 | + (70,'users-permissions','userspermissions','searchusers',0,'',1), | ||
| 225 | + (71,'users-permissions','userspermissions','updaterole',0,'',1), | ||
| 226 | + (72,'users-permissions','userspermissions','getemailtemplate',0,'',1), | ||
| 227 | + (73,'users-permissions','userspermissions','updateemailtemplate',0,'',1), | ||
| 228 | + (74,'users-permissions','userspermissions','getadvancedsettings',0,'',1), | ||
| 229 | + (75,'users-permissions','userspermissions','getproviders',0,'',1), | ||
| 230 | + (76,'users-permissions','userspermissions','updateadvancedsettings',0,'',1), | ||
| 231 | + (77,'users-permissions','userspermissions','updateproviders',0,'',1), | ||
| 232 | + (78,'email','email','send',0,'',1), | ||
| 233 | + (79,'email','email','getenvironments',0,'',1), | ||
| 234 | + (80,'email','email','getsettings',0,'',1), | ||
| 235 | + (81,'email','email','updatesettings',0,'',1), | ||
| 236 | + (82,'upload','upload','upload',1,'',1), | ||
| 237 | + (83,'upload','upload','getenvironments',1,'',1), | ||
| 238 | + (84,'upload','upload','getsettings',1,'',1), | ||
| 239 | + (85,'upload','upload','find',1,'',1), | ||
| 240 | + (86,'upload','upload','updatesettings',1,'',1), | ||
| 241 | + (87,'upload','upload','findone',1,'',1), | ||
| 242 | + (88,'upload','upload','count',1,'',1), | ||
| 243 | + (89,'upload','upload','destroy',1,'',1), | ||
| 244 | + (90,'upload','upload','search',1,'',1), | ||
| 245 | + (91,'application','work','find',0,'',2), | ||
| 246 | + (92,'application','work','findone',0,'',2), | ||
| 247 | + (93,'application','work','count',0,'',2), | ||
| 248 | + (94,'application','work','create',0,'',2), | ||
| 249 | + (95,'application','work','update',0,'',2), | ||
| 250 | + (96,'application','work','previewone',0,'',2), | ||
| 251 | + (97,'application','work','delete',0,'',2), | ||
| 252 | + (98,'application','work','submitform',0,'',2), | ||
| 253 | + (99,'application','work','queryformsofonework',0,'',2), | ||
| 254 | + (100,'application','work','usetemplate',0,'',2), | ||
| 255 | + (101,'application','work','setastemplate',0,'',2), | ||
| 256 | + (102,'application','work','uploadpsd',0,'',2), | ||
| 257 | + (103,'application','work','corsproxy',0,'',2), | ||
| 258 | + (104,'application','workform','find',0,'',2), | ||
| 259 | + (105,'application','workform','findone',0,'',2), | ||
| 260 | + (106,'application','workform','count',0,'',2), | ||
| 261 | + (107,'application','workform','create',0,'',2), | ||
| 262 | + (108,'application','workform','update',0,'',2), | ||
| 263 | + (109,'application','workform','delete',0,'',2), | ||
| 264 | + (110,'content-type-builder','contenttypebuilder','getmodels',0,'',2), | ||
| 265 | + (111,'content-type-builder','contenttypebuilder','getmodel',0,'',2), | ||
| 266 | + (112,'content-type-builder','contenttypebuilder','createmodel',0,'',2), | ||
| 267 | + (113,'content-type-builder','contenttypebuilder','getconnections',0,'',2), | ||
| 268 | + (114,'content-type-builder','contenttypebuilder','updatemodel',0,'',2), | ||
| 269 | + (115,'content-type-builder','contenttypebuilder','deletemodel',0,'',2), | ||
| 270 | + (116,'content-type-builder','groups','getgroups',0,'',2), | ||
| 271 | + (117,'content-type-builder','groups','getgroup',0,'',2), | ||
| 272 | + (118,'content-type-builder','groups','creategroup',0,'',2), | ||
| 273 | + (119,'content-type-builder','groups','updategroup',0,'',2), | ||
| 274 | + (120,'content-manager','contentmanager','find',0,'',2), | ||
| 275 | + (121,'content-manager','contentmanager','findone',0,'',2), | ||
| 276 | + (122,'content-type-builder','groups','deletegroup',0,'',2), | ||
| 277 | + (123,'content-manager','contentmanager','count',0,'',2), | ||
| 278 | + (124,'content-manager','contentmanager','create',0,'',2), | ||
| 279 | + (125,'content-manager','contentmanager','update',0,'',2), | ||
| 280 | + (126,'content-manager','contentmanager','delete',0,'',2), | ||
| 281 | + (127,'content-manager','contenttypes','listcontenttypes',0,'',2), | ||
| 282 | + (128,'content-manager','contentmanager','deletemany',0,'',2), | ||
| 283 | + (129,'content-manager','contenttypes','findcontenttype',0,'',2), | ||
| 284 | + (130,'content-manager','contenttypes','updatecontenttype',0,'',2), | ||
| 285 | + (131,'content-manager','generalsettings','updategeneralsettings',0,'',2), | ||
| 286 | + (132,'content-manager','generalsettings','getgeneralsettings',0,'',2), | ||
| 287 | + (133,'content-manager','groups','findgroup',0,'',2), | ||
| 288 | + (134,'content-manager','groups','listgroups',0,'',2), | ||
| 289 | + (135,'content-manager','groups','updategroup',0,'',2), | ||
| 290 | + (136,'users-permissions','auth','callback',0,'',2), | ||
| 291 | + (137,'users-permissions','auth','changepassword',0,'',2), | ||
| 292 | + (138,'users-permissions','auth','connect',1,'',2), | ||
| 293 | + (139,'users-permissions','auth','forgotpassword',0,'',2), | ||
| 294 | + (140,'users-permissions','auth','register',0,'',2), | ||
| 295 | + (141,'users-permissions','auth','emailconfirmation',0,'',2), | ||
| 296 | + (142,'users-permissions','auth','sendemailconfirmation',0,'',2), | ||
| 297 | + (143,'users-permissions','user','find',0,'',2), | ||
| 298 | + (144,'users-permissions','user','me',1,'',2), | ||
| 299 | + (145,'users-permissions','user','findone',0,'',2), | ||
| 300 | + (146,'users-permissions','user','create',0,'',2), | ||
| 301 | + (147,'users-permissions','user','update',0,'',2), | ||
| 302 | + (148,'users-permissions','user','destroyall',0,'',2), | ||
| 303 | + (149,'users-permissions','user','destroy',0,'',2), | ||
| 304 | + (150,'users-permissions','userspermissions','createrole',0,'',2), | ||
| 305 | + (151,'users-permissions','userspermissions','deleteprovider',0,'',2), | ||
| 306 | + (152,'users-permissions','userspermissions','deleterole',0,'',2), | ||
| 307 | + (153,'users-permissions','userspermissions','getpermissions',0,'',2), | ||
| 308 | + (154,'users-permissions','userspermissions','getpolicies',0,'',2), | ||
| 309 | + (155,'users-permissions','userspermissions','getrole',0,'',2), | ||
| 310 | + (156,'users-permissions','userspermissions','getroles',0,'',2), | ||
| 311 | + (157,'users-permissions','userspermissions','getroutes',0,'',2), | ||
| 312 | + (158,'users-permissions','userspermissions','index',0,'',2), | ||
| 313 | + (159,'users-permissions','userspermissions','init',1,'',2), | ||
| 314 | + (160,'users-permissions','userspermissions','searchusers',0,'',2), | ||
| 315 | + (161,'users-permissions','userspermissions','updaterole',0,'',2), | ||
| 316 | + (162,'users-permissions','userspermissions','getemailtemplate',0,'',2), | ||
| 317 | + (163,'users-permissions','userspermissions','updateemailtemplate',0,'',2), | ||
| 318 | + (164,'users-permissions','userspermissions','getadvancedsettings',0,'',2), | ||
| 319 | + (165,'users-permissions','userspermissions','updateadvancedsettings',0,'',2), | ||
| 320 | + (166,'users-permissions','userspermissions','getproviders',0,'',2), | ||
| 321 | + (167,'users-permissions','userspermissions','updateproviders',0,'',2), | ||
| 322 | + (168,'email','email','getenvironments',0,'',2), | ||
| 323 | + (169,'email','email','send',0,'',2), | ||
| 324 | + (170,'email','email','getsettings',0,'',2), | ||
| 325 | + (171,'email','email','updatesettings',0,'',2), | ||
| 326 | + (172,'upload','upload','getenvironments',0,'',2), | ||
| 327 | + (173,'upload','upload','upload',0,'',2), | ||
| 328 | + (174,'upload','upload','getsettings',0,'',2), | ||
| 329 | + (175,'upload','upload','updatesettings',0,'',2), | ||
| 330 | + (176,'upload','upload','find',0,'',2), | ||
| 331 | + (177,'upload','upload','findone',0,'',2), | ||
| 332 | + (178,'upload','upload','destroy',0,'',2), | ||
| 333 | + (179,'upload','upload','count',0,'',2), | ||
| 334 | + (180,'upload','upload','search',0,'',2); | ||
| 335 | + | ||
| 336 | +/*!40000 ALTER TABLE `users-permissions_permission` ENABLE KEYS */; | ||
| 337 | +UNLOCK TABLES; | ||
| 338 | + | ||
| 339 | + | ||
| 340 | +# Dump of table users-permissions_role | ||
| 341 | +# ------------------------------------------------------------ | ||
| 342 | + | ||
| 343 | +DROP TABLE IF EXISTS `users-permissions_role`; | ||
| 344 | + | ||
| 345 | +CREATE TABLE `users-permissions_role` ( | ||
| 346 | + `id` int(11) NOT NULL AUTO_INCREMENT, | ||
| 347 | + `name` varchar(255) NOT NULL, | ||
| 348 | + `description` varchar(255) DEFAULT NULL, | ||
| 349 | + `type` varchar(255) DEFAULT NULL, | ||
| 350 | + PRIMARY KEY (`id`), | ||
| 351 | + UNIQUE KEY `users-permissions_role_type_unique` (`type`), | ||
| 352 | + FULLTEXT KEY `SEARCH_USERS_PERMISSIONS_ROLE` (`name`,`description`,`type`) | ||
| 353 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
| 354 | + | ||
| 355 | +LOCK TABLES `users-permissions_role` WRITE; | ||
| 356 | +/*!40000 ALTER TABLE `users-permissions_role` DISABLE KEYS */; | ||
| 357 | + | ||
| 358 | +INSERT INTO `users-permissions_role` (`id`, `name`, `description`, `type`) | ||
| 359 | +VALUES | ||
| 360 | + (1,'Public','Default role given to unauthenticated user.','public'), | ||
| 361 | + (2,'Authenticated','Default role given to authenticated user.','authenticated'); | ||
| 362 | + | ||
| 363 | +/*!40000 ALTER TABLE `users-permissions_role` ENABLE KEYS */; | ||
| 364 | +UNLOCK TABLES; | ||
| 365 | + | ||
| 366 | + | ||
| 367 | +# Dump of table users-permissions_user | ||
| 368 | +# ------------------------------------------------------------ | ||
| 369 | + | ||
| 370 | +DROP TABLE IF EXISTS `users-permissions_user`; | ||
| 371 | + | ||
| 372 | +CREATE TABLE `users-permissions_user` ( | ||
| 373 | + `id` int(11) NOT NULL AUTO_INCREMENT, | ||
| 374 | + `username` varchar(255) NOT NULL, | ||
| 375 | + `email` varchar(255) NOT NULL, | ||
| 376 | + `provider` varchar(255) DEFAULT NULL, | ||
| 377 | + `password` varchar(255) DEFAULT NULL, | ||
| 378 | + `resetPasswordToken` varchar(255) DEFAULT NULL, | ||
| 379 | + `confirmed` tinyint(1) DEFAULT NULL, | ||
| 380 | + `blocked` tinyint(1) DEFAULT NULL, | ||
| 381 | + `role` int(11) DEFAULT NULL, | ||
| 382 | + `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP, | ||
| 383 | + `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, | ||
| 384 | + PRIMARY KEY (`id`), | ||
| 385 | + UNIQUE KEY `users-permissions_user_username_unique` (`username`), | ||
| 386 | + FULLTEXT KEY `SEARCH_USERS_PERMISSIONS_USER` (`username`,`provider`,`resetPasswordToken`) | ||
| 387 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
| 388 | + | ||
| 389 | + | ||
| 390 | + | ||
| 391 | +# Dump of table workforms | ||
| 392 | +# ------------------------------------------------------------ | ||
| 393 | + | ||
| 394 | +DROP TABLE IF EXISTS `workforms`; | ||
| 395 | + | ||
| 396 | +CREATE TABLE `workforms` ( | ||
| 397 | + `id` int(11) NOT NULL AUTO_INCREMENT, | ||
| 398 | + `form` longtext, | ||
| 399 | + `work` int(11) DEFAULT NULL, | ||
| 400 | + `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP, | ||
| 401 | + `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, | ||
| 402 | + PRIMARY KEY (`id`) | ||
| 403 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
| 404 | + | ||
| 405 | +LOCK TABLES `workforms` WRITE; | ||
| 406 | +/*!40000 ALTER TABLE `workforms` DISABLE KEYS */; | ||
| 407 | + | ||
| 408 | +INSERT INTO `workforms` (`id`, `form`, `work`, `created_at`, `updated_at`) | ||
| 409 | +VALUES | ||
| 410 | + (1,'{\"1576407204759\":\"user01\"}',1,'2019-12-15 12:16:18','2019-12-15 12:16:48'), | ||
| 411 | + (2,'{\"1576407204759\":\"user02\"}',1,'2019-12-15 12:16:18','2019-12-15 12:16:56'); | ||
| 412 | + | ||
| 413 | +/*!40000 ALTER TABLE `workforms` ENABLE KEYS */; | ||
| 414 | +UNLOCK TABLES; | ||
| 415 | + | ||
| 416 | + | ||
| 417 | +# Dump of table works | ||
| 418 | +# ------------------------------------------------------------ | ||
| 419 | + | ||
| 420 | +DROP TABLE IF EXISTS `works`; | ||
| 421 | + | ||
| 422 | +CREATE TABLE `works` ( | ||
| 423 | + `id` int(11) NOT NULL AUTO_INCREMENT, | ||
| 424 | + `title` varchar(255) DEFAULT NULL, | ||
| 425 | + `description` longtext, | ||
| 426 | + `cover_image_url` longtext, | ||
| 427 | + `pages` longtext, | ||
| 428 | + `is_publish` tinyint(1) DEFAULT NULL, | ||
| 429 | + `is_template` tinyint(1) DEFAULT NULL, | ||
| 430 | + `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP, | ||
| 431 | + `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, | ||
| 432 | + PRIMARY KEY (`id`), | ||
| 433 | + FULLTEXT KEY `SEARCH_WORKS` (`title`,`description`,`cover_image_url`) | ||
| 434 | +) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
| 435 | + | ||
| 436 | +LOCK TABLES `works` WRITE; | ||
| 437 | +/*!40000 ALTER TABLE `works` DISABLE KEYS */; | ||
| 438 | + | ||
| 439 | +INSERT INTO `works` (`id`, `title`, `description`, `cover_image_url`, `pages`, `is_publish`, `is_template`, `created_at`, `updated_at`) | ||
| 440 | +VALUES | ||
| 441 | + (1,'标题','描述','http://localhost:1337/uploads/f3f806d7224d4e8d9f2144b5aaf11819.png','[{\"uuid\":1576412170923,\"title\":\"\",\"elements\":[{\"name\":\"lbp-background\",\"uuid\":1576404484023,\"pluginProps\":{\"uuid\":1576404484023},\"commonStyle\":{\"top\":100,\"left\":100,\"width\":100,\"height\":40,\"textAlign\":\"center\",\"color\":\"#000000\",\"backgroundColor\":\"rgba(255, 255, 255, 0)\",\"fontSize\":14},\"events\":[],\"animations\":[]},{\"name\":\"lbp-text\",\"uuid\":1576404494347,\"pluginProps\":{\"uuid\":1576404494347,\"backgroundColor\":\"rgba(255, 255, 255, 0.2)\",\"borderWidth\":0,\"borderRadius\":0,\"borderColor\":\"#ced4da\",\"text\":\"<h2 class=\\\"ql-align-center\\\">欢迎使用 鲁班H5</h2><p><br></p><p><span style=\\\"color: rgb(51, 51, 51); background-color: rgb(255, 255, 255);\\\">鲁班H5是基于Vue2.0开发的,通过拖拽的形式,生成页面的工具,类似</span><a href=\\\"http://www.eqxiu.com/\\\" rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\" style=\\\"color: rgb(65, 131, 196); background-color: rgb(255, 255, 255);\\\">易企秀</a><span style=\\\"color: rgb(51, 51, 51); background-color: rgb(255, 255, 255);\\\">、</span><a href=\\\"https://h5.baidu.com/\\\" rel=\\\"noopener noreferrer\\\" target=\\\"_blank\\\" style=\\\"color: rgb(65, 131, 196); background-color: rgb(255, 255, 255);\\\">百度 H5</a><span style=\\\"color: rgb(51, 51, 51); background-color: rgb(255, 255, 255);\\\"> 等工具</span></p><p><br></p><p><span style=\\\"color: rgb(51, 51, 51); background-color: rgb(255, 255, 255);\\\"></span></p><p><strong style=\\\"background-color: rgb(255, 255, 255);\\\"><em><u>我们的初心也是希望能通过工程化的手段,大幅度提高简单H5页面的制作效率,提高工程师的幸福感,从这种需求频繁变更的简单任务中解脱出来</u></em></strong></p>\"},\"commonStyle\":{\"top\":30,\"left\":26,\"width\":256,\"height\":351,\"textAlign\":\"center\",\"color\":\"#000000\",\"backgroundColor\":\"rgba(255, 255, 255, 0)\",\"fontSize\":14},\"events\":[],\"animations\":[]},{\"name\":\"lbp-form-button\",\"uuid\":1576407196188,\"pluginProps\":{\"uuid\":1576407196188,\"text\":\"Submit\",\"vertical\":false,\"backgroundColor\":\"rgba(255, 255, 255, 0.2)\",\"color\":\"#000000\",\"fontSize\":14,\"lineHeight\":1,\"borderWidth\":1,\"borderRadius\":0,\"borderColor\":\"#ced4da\",\"textAlign\":\"center\",\"disabled\":false},\"commonStyle\":{\"top\":371,\"left\":100,\"width\":100,\"height\":40,\"textAlign\":\"center\",\"color\":\"#000000\",\"backgroundColor\":\"rgba(255, 255, 255, 0)\",\"fontSize\":14},\"events\":[],\"animations\":[]},{\"name\":\"lbp-form-input\",\"uuid\":1576407204759,\"pluginProps\":{\"uuid\":1576407204759,\"type\":\"text\",\"disabled\":false,\"placeholder\":\"username\",\"fontSize\":14,\"color\":\"#000000\",\"backgroundColor\":\"rgba(255, 255, 255, 0.2)\",\"borderColor\":\"#ced4da\",\"borderWidth\":1,\"borderRadius\":0,\"lineHeight\":1,\"textAlign\":\"left\"},\"commonStyle\":{\"top\":296,\"left\":100,\"width\":100,\"height\":40,\"textAlign\":\"center\",\"color\":\"#000000\",\"backgroundColor\":\"rgba(255, 255, 255, 0)\",\"fontSize\":14},\"events\":[],\"animations\":[]}]}]',0,0,'2019-12-15 12:12:45','2019-12-15 12:17:58'); | ||
| 442 | + | ||
| 443 | +/*!40000 ALTER TABLE `works` ENABLE KEYS */; | ||
| 444 | +UNLOCK TABLES; | ||
| 445 | + | ||
| 446 | + | ||
| 447 | + | ||
| 448 | +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; | ||
| 449 | +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; | ||
| 450 | +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; | ||
| 451 | +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; | ||
| 452 | +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; | ||
| 453 | +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |