S F L :

Оценка: 12260


Бизнес-объектов: 12 | Бизнес-свойств: TP=45 | Авторских строк: 40661 | Строк кода: 8 296 772
Коэф. свойства KP=$168 Таблица расчёта | Мин БАЗА платформы MBP=$4700 Таблица расчёта
Формула:S=(KP*TP)+MBP=$12260
UML Language: [Client|user_id;city_id;client_category_id;type;birthday_at;age],[Client]--<>[User],[Client]--<>[City],[Client]--<>[ClientCategory],[City|title;country;flag],[ClientCategory|name;description],[Consultation|consultation_category_id;client_id;name],[Consultation]--<>[ConsultationCategory],[Consultation]--<>[Client],[ConsultationCategory|name;description;tags],[ClientAnswer|client_id;test_question_id;test_answer_id;test_answer_text],[ClientAnswer]--<>[Client],[ClientAnswer]--<>[TestQuestion],[ClientAnswer]--<>[TestAnswer],[TestCategory|title;description;status;is_disabled;order],[TestBlock|title;is_disabled;order],[TestQuestion|test_category_id;test_block_id;title;description;type;is_disabled;order],[TestQuestion]--<>[TestCategory],[TestQuestion]--<>[TestBlock],[TestAnswer|test_question_id;title;is_disabled;order],[TestAnswer]--<>[TestQuestion],[TestQuestionRequires|test_answer_id;test_question_id],[TestQuestionRequires]--<>[TestAnswer],[TestQuestionRequires]--<>[TestQuestion],[TestAnswerContext|test_answer_id;test_question_id;test_answer_context_id],[TestAnswerContext]--<>[TestAnswer],[TestAnswerContext]--<>[TestQuestion],[TestAnswerContext]--<>[TestAnswerContext],
structs FRACTAL SFL YOUR UML - YOUML, FML FRACTAL SFL YOUR UML - YOUML, FML Client Client user_id city_id client_category_id type birthday_at age User User Client->User City City title country flag Client->City ClientCategory ClientCategory name description Client->ClientCategory Consultation Consultation consultation_category_id client_id name Consultation->Client ConsultationCategory ConsultationCategory name description tags Consultation->ConsultationCategory ClientAnswer ClientAnswer client_id test_question_id test_answer_id test_answer_text ClientAnswer->Client TestQuestion TestQuestion test_category_id test_block_id title description type is_disabled order ClientAnswer->TestQuestion TestAnswer TestAnswer test_question_id title is_disabled order ClientAnswer->TestAnswer TestCategory TestCategory title description status is_disabled order TestQuestion->TestCategory TestBlock TestBlock title is_disabled order TestQuestion->TestBlock TestAnswer->TestQuestion TestQuestionRequires TestQuestionRequires test_answer_id test_question_id TestQuestionRequires->TestQuestion TestQuestionRequires->TestAnswer TestAnswerContext TestAnswerContext test_answer_id test_question_id test_answer_context_id TestAnswerContext->TestQuestion TestAnswerContext->TestAnswer TestAnswerContext->TestAnswerContext CREATED WITH YUML

Сгенерированные файлы и таблицы

Очистить
(621)
lines in SQL script

GENERATED TABLES

city
client
client_answer
client_category
consultation
consultation_category
test_answer
test_answer_context
test_block
test_category
test_question
test_question_requires

SYSTEM TABLES
article
article_attachment
article_category
file_storage_item
i18n_message
i18n_source_message
key_storage_item
migration
page
rbac_auth_assignment
rbac_auth_item
rbac_auth_item_child
rbac_auth_rule
system_db_migration
system_log
system_rbac_migration
timeline_event
user
user_profile
user_token
widget_carousel
widget_carousel_item
widget_menu
widget_text

BASE FILES

(349)api/components/CrossService.php
(182)api/components/DomainModel.php
(95)api/components/Mapper.php
(137)api/components/ObjectConverter.php
(139)api/components/Repository.php
(641)api/components/RestController.php
(81)api/components/ValueObject.php
(265)api/components/actions/ExportAction.php
(58)api/components/actions/DeleteAction.php
(111)api/components/actions/CreateAction.php
(64)api/components/actions/AllAction.php
(647)api/components/actions/IndexAction.php
(610)api/components/actions/ChartAction.php
(300)api/components/actions/JoinAllAction.php
(41)api/components/meta/MetaAction.php
(81)api/components/meta/MetaDB.php
(43)api/components/meta/MetaDBResource.php
(36)api/components/meta/MetaDBService.php
(41)api/components/meta/MetaInterface.php
(45)api/components/meta/MetaModelInterface.php
(95)api/components/meta/MetaResource.php
(161)api/components/meta/MetaService.php
(110)api/components/protocol/Protocol.php
(40)api/components/protocol/Request.php
(40)api/components/protocol/Response.php
(75)landings/main/save.php
(74)landings/main/prepare-html.php
(236)landings/main/_editor-template.html
(139)mobile-wrapper/www/js/index.js
(70)mobile-wrapper/www/index.html
(139)mobile-wrapper-ios/www/js/index.js
(65)mobile-wrapper-ios/www/index.html
(155)docker-compose.yml
(155)docker-compose-local.yml
(44)docker-compose-server.yml
(135)composer.json
(37).env
(37).env.local
(40).env.server
(7)_build
(4)_ex
(5)_go
(35)_install
(5)_logs
(6)_to
(12)docker-clean.sh
(5)env.sh
(6)first_install.sh
(6)first_install_server.sh
(6)first_install_server_https.sh
(4)go.sh
(10)install.sh
(5)unzipvnd.sh
(28)PROBLEMS.md
(134)README.md
(101)SOLUTIONS.md
(1).gitignore
(31)Dockerfile
(6)scheduler.cron
(1).gitignore
(25)Dockerfile
(9)scheduler.cron
(13)Dockerfile
(102)kibana.yml
(12)nginx.logstash
(6)01-input-syslog.conf
(9)30-output-elasticsearch.conf
(51)10-filter-syslog.conf
(5)Dockerfile
(13)config.cnf
(177)vhost.conf
(179)server.vhost.conf
(248)server.vhost.https.conf
(18)www.conf
(18)install-composer.sh
(37)Dockerfile.save
(1).Dockerfile.swp
(39)Dockerfile
(33)php.ini
(1)supervisor_service_errors.log
(26)Dockerfile
(37)supervisord.conf
(5)docker/bash.sh
(12)docker/docker-clean.sh
(13)docker/dump.sh
(26)docker/dump-service.sh
(5)docker/env.sh
(5)docker/envserver.sh
(15)docker/gotoserver.sh
(82)docker/install_all.sh
(8)docker/remove.archive.sh
(14)docker/remove.mine.sh
(26)docker/search.autoload.sh
(111)information.php
(32)_menu.php
(26)site.php
(459)main.php
(57)_service_menu.php
(56)filter.php
(51)list.php
(116)contacts.php
(68)login.php
(642)home.php
(23)_place_card.php
(61)language.php
(17)_sub_menu.php
(34)_full_menu.php
(34)search.php
(73)profile.php
(59)registrationForm.php
(40)registration.php
(72)registrationPassword.php

Total lines count: 9532

FOLD backend/views

city(dir)
  (70)_form.php
  (29)_item.php
  (35)_search.php
  (41)create.php
  (130)index.php
  (38)update.php
  (131)view.php
client(dir)
  (94)_form.php
  (31)_item.php
  (41)_search.php
  (41)create.php
  (181)index.php
  (38)update.php
  (168)view.php
client-answer(dir)
  (92)_form.php
  (27)_item.php
  (37)_search.php
  (41)create.php
  (173)index.php
  (38)update.php
  (98)view.php
client-category(dir)
  (69)_form.php
  (27)_item.php
  (33)_search.php
  (41)create.php
  (129)index.php
  (38)update.php
  (130)view.php
consultation(dir)
  (84)_form.php
  (25)_item.php
  (35)_search.php
  (41)create.php
  (157)index.php
  (38)update.php
  (97)view.php
consultation-category(dir)
  (70)_form.php
  (29)_item.php
  (35)_search.php
  (41)create.php
  (130)index.php
  (38)update.php
  (131)view.php
test-answer(dir)
  (78)_form.php
  (29)_item.php
  (37)_search.php
  (41)create.php
  (152)index.php
  (38)update.php
  (200)view.php
test-answer-context(dir)
  (91)_form.php
  (25)_item.php
  (35)_search.php
  (41)create.php
  (175)index.php
  (38)update.php
  (131)view.php
test-block(dir)
  (70)_form.php
  (29)_item.php
  (35)_search.php
  (41)create.php
  (130)index.php
  (38)update.php
  (131)view.php
test-category(dir)
  (72)_form.php
  (33)_item.php
  (39)_search.php
  (41)create.php
  (132)index.php
  (38)update.php
  (133)view.php
test-question(dir)
  (88)_form.php
  (33)_item.php
  (43)_search.php
  (41)create.php
  (173)index.php
  (38)update.php
  (237)view.php
test-question-requires(dir)
  (83)_form.php
  (25)_item.php
  (33)_search.php
  (41)create.php
  (156)index.php
  (38)update.php
  (96)view.php
_____________________

CLS backend/controllers

(11)CityController
(11)ClientAnswerController
(11)ClientCategoryController
(11)ClientController
(11)ConsultationCategoryController
(11)ConsultationController
(11)TestAnswerContextController
(11)TestAnswerController
(11)TestBlockController
(11)TestCategoryController
(11)TestQuestionController
(11)TestQuestionRequiresController

CLS backend/controllers/base

(295)CityController
(295)ClientAnswerController
(295)ClientCategoryController
(295)ClientController
(295)ConsultationCategoryController
(295)ConsultationController
(295)TestAnswerContextController
(295)TestAnswerController
(295)TestBlockController
(295)TestCategoryController
(295)TestQuestionController
(295)TestQuestionRequiresController

FOLD backend/messages/for-translation

(6)City.php
(6)Client.php
(6)ClientAnswer.php
(6)ClientCategory.php
(6)Consultation.php
(6)ConsultationCategory.php
(6)TestAnswer.php
(6)TestAnswerContext.php
(6)TestBlock.php
(6)TestCategory.php
(6)TestQuestion.php
(6)TestQuestionRequires.php

MOD frontend/modules

  .gii(dir)
    (66)CityFRACTALGiiantCRUD.json
    (66)ClientAnswerFRACTALGiiantCRUD.json
    (66)ClientCategoryFRACTALGiiantCRUD.json
    (66)ClientFRACTALGiiantCRUD.json
    (66)ConsultationCategoryFRACTALGiiantCRUD.json
    (66)ConsultationFRACTALGiiantCRUD.json
    (66)TestAnswerContextFRACTALGiiantCRUD.json
    (66)TestAnswerFRACTALGiiantCRUD.json
    (66)TestBlockFRACTALGiiantCRUD.json
    (66)TestCategoryFRACTALGiiantCRUD.json
    (66)TestQuestionFRACTALGiiantCRUD.json
    (66)TestQuestionRequiresFRACTALGiiantCRUD.json
  (68)CitySearch.php
  (69)ClientAnswerSearch.php
  (67)ClientCategorySearch.php
  (69)ClientSearch.php
  (68)ConsultationCategorySearch.php
  (68)ConsultationSearch.php
  (19)Module.php
  (66)TestAnswerContextSearch.php
  (69)TestAnswerSearch.php
  (68)TestBlockSearch.php
  (70)TestCategorySearch.php
  (65)TestQuestionRequiresSearch.php
  (72)TestQuestionSearch.php
  controllers(dir)
    (11)CityController.php
    (11)ClientAnswerController.php
    (11)ClientCategoryController.php
    (11)ClientController.php
    (11)ConsultationCategoryController.php
    (11)ConsultationController.php
    (13)DefaultController.php
    (11)TestAnswerContextController.php
    (11)TestAnswerController.php
    (11)TestBlockController.php
    (11)TestCategoryController.php
    (11)TestQuestionController.php
    (11)TestQuestionRequiresController.php
    api(dir)
      (35)CityController.php
      (35)ClientAnswerController.php
      (35)ClientCategoryController.php
      (35)ClientController.php
      (35)ConsultationCategoryController.php
      (35)ConsultationController.php
      (35)TestAnswerContextController.php
      (35)TestAnswerController.php
      (35)TestBlockController.php
      (35)TestCategoryController.php
      (35)TestQuestionController.php
      (35)TestQuestionRequiresController.php
    base(dir)
      (295)CityController.php
      (295)ClientAnswerController.php
      (295)ClientCategoryController.php
      (295)ClientController.php
      (295)ConsultationCategoryController.php
      (295)ConsultationController.php
      (295)TestAnswerContextController.php
      (295)TestAnswerController.php
      (295)TestBlockController.php
      (295)TestCategoryController.php
      (295)TestQuestionController.php
      (295)TestQuestionRequiresController.php
  messages(dir)
    for-translation(dir)
      (6)City.php
      (6)Client.php
      (6)ClientAnswer.php
      (6)ClientCategory.php
      (6)Consultation.php
      (6)ConsultationCategory.php
      (6)TestAnswer.php
      (6)TestAnswerContext.php
      (6)TestBlock.php
      (6)TestCategory.php
      (6)TestQuestion.php
      (6)TestQuestionRequires.php
  migrations(dir)
    (117)m230722_134300_1690033389_4543Client_access.php
    (117)m230722_134300_1690033389_5133City_access.php
    (117)m230722_134300_1690033389_568ClientCategory_access.php
    (117)m230722_134300_1690033389_6227Consultation_access.php
    (117)m230722_134300_1690033389_6787ConsultationCategory_access.php
    (117)m230722_134300_1690033389_7347ClientAnswer_access.php
    (117)m230722_134300_1690033389_7936TestCategory_access.php
    (117)m230722_134300_1690033389_8502TestBlock_access.php
    (117)m230722_134300_1690033389_9093TestQuestion_access.php
    (117)m230722_134300_1690033389_9707TestAnswer_access.php
    (117)m230722_134300_1690033390_0278TestQuestionRequires_access.php
    (117)m230722_134300_1690033390_085TestAnswerContext_access.php
  traits(dir)
    (11)ActiveRecordDbConnectionTrait.php
  views(dir)
    city(dir)
      (70)_form.php
      (29)_item.php
      (35)_search.php
      (41)create.php
      (102)index.php
      (38)update.php
      (131)view.php
    client(dir)
      (94)_form.php
      (31)_item.php
      (41)_search.php
      (41)create.php
      (102)index.php
      (38)update.php
      (168)view.php
    client-answer(dir)
      (92)_form.php
      (27)_item.php
      (37)_search.php
      (41)create.php
      (102)index.php
      (38)update.php
      (98)view.php
    client-category(dir)
      (69)_form.php
      (27)_item.php
      (33)_search.php
      (41)create.php
      (102)index.php
      (38)update.php
      (130)view.php
    consultation(dir)
      (84)_form.php
      (25)_item.php
      (35)_search.php
      (41)create.php
      (102)index.php
      (38)update.php
      (97)view.php
    consultation-category(dir)
      (70)_form.php
      (29)_item.php
      (35)_search.php
      (41)create.php
      (102)index.php
      (38)update.php
      (131)view.php
    default(dir)
      (65)index.php
    test-answer(dir)
      (78)_form.php
      (29)_item.php
      (37)_search.php
      (41)create.php
      (102)index.php
      (38)update.php
      (200)view.php
    test-answer-context(dir)
      (91)_form.php
      (25)_item.php
      (35)_search.php
      (41)create.php
      (102)index.php
      (38)update.php
      (131)view.php
    test-block(dir)
      (70)_form.php
      (29)_item.php
      (35)_search.php
      (41)create.php
      (102)index.php
      (38)update.php
      (131)view.php
    test-category(dir)
      (72)_form.php
      (33)_item.php
      (39)_search.php
      (41)create.php
      (102)index.php
      (38)update.php
      (133)view.php
    test-question(dir)
      (88)_form.php
      (33)_item.php
      (43)_search.php
      (41)create.php
      (102)index.php
      (38)update.php
      (237)view.php
    test-question-requires(dir)
      (83)_form.php
      (25)_item.php
      (33)_search.php
      (41)create.php
      (102)index.php
      (38)update.php
      (96)view.php

FOLD backend/migrations

(117)m230722_134300_1690033388_7573Client_access.php
(117)m230722_134300_1690033388_8217City_access.php
(117)m230722_134300_1690033388_8764ClientCategory_access.php
(117)m230722_134300_1690033388_9325Consultation_access.php
(117)m230722_134300_1690033388_9906ConsultationCategory_access.php
(117)m230722_134300_1690033389_0453ClientAnswer_access.php
(117)m230722_134300_1690033389_1051TestCategory_access.php
(117)m230722_134300_1690033389_1606TestBlock_access.php
(117)m230722_134300_1690033389_2157TestQuestion_access.php
(117)m230722_134300_1690033389_2785TestAnswer_access.php
(117)m230722_134300_1690033389_3402TestQuestionRequires_access.php
(117)m230722_134300_1690033389_3956TestAnswerContext_access.php

CLS api/modules/v1/controllers

(45)CityController
(45)ClientAnswerController
(45)ClientCategoryController
(45)ClientController
(45)ConsultationCategoryController
(45)ConsultationController
(45)TestAnswerContextController
(45)TestAnswerController
(45)TestBlockController
(45)TestCategoryController
(45)TestQuestionController
(45)TestQuestionRequiresController

CLS api/controllers

(776)ClassicController

DIR common/models

(34)City
(34)Client
(34)ClientAnswer
(34)ClientCategory
(34)Consultation
(34)ConsultationCategory
(34)TestAnswer
(34)TestAnswerContext
(34)TestBlock
(34)TestCategory
(34)TestQuestion
(34)TestQuestionRequires

DIR common/models/base

(76)City
(121)Client
(100)ClientAnswer
(74)ClientCategory
(88)Consultation
(76)ConsultationCategory
(108)TestAnswer
(106)TestAnswerContext
(78)TestBlock
(82)TestCategory
(134)TestQuestion
(85)TestQuestionRequires

CLS common/models/query

(35)CityQuery
(35)ClientAnswerQuery
(35)ClientCategoryQuery
(35)ClientQuery
(35)ConsultationCategoryQuery
(35)ConsultationQuery
(35)TestAnswerContextQuery
(35)TestAnswerQuery
(35)TestBlockQuery
(35)TestCategoryQuery
(35)TestQuestionQuery
(35)TestQuestionRequiresQuery

CLS common/models/search

(68)CitySearch
(69)ClientAnswerSearch
(67)ClientCategorySearch
(69)ClientSearch
(68)ConsultationCategorySearch
(68)ConsultationSearch
(66)TestAnswerContextSearch
(69)TestAnswerSearch
(68)TestBlockSearch
(70)TestCategorySearch
(65)TestQuestionRequiresSearch
(72)TestQuestionSearch

CLS common/contracts

(9)CityContract
(9)ClientAnswerContract
(9)ClientCategoryContract
(9)ClientContract
(9)ConsultationCategoryContract
(9)ConsultationContract
(9)TestAnswerContextContract
(9)TestAnswerContract
(9)TestBlockContract
(9)TestCategoryContract
(9)TestQuestionContract
(9)TestQuestionRequiresContract

CLS common/repositories

(82)CityRepository
(82)ClientAnswerRepository
(82)ClientCategoryRepository
(82)ClientRepository
(82)ConsultationCategoryRepository
(82)ConsultationRepository
(82)TestAnswerContextRepository
(82)TestAnswerRepository
(82)TestBlockRepository
(82)TestCategoryRepository
(82)TestQuestionRepository
(82)TestQuestionRequiresRepository

CLS common/repositories/contracts

(9)CityContract
(9)ClientAnswerContract
(9)ClientCategoryContract
(9)ClientContract
(9)ConsultationCategoryContract
(9)ConsultationContract
(9)TestAnswerContextContract
(9)TestAnswerContract
(9)TestBlockContract
(9)TestCategoryContract
(9)TestQuestionContract
(9)TestQuestionRequiresContract

CLS common/services

(83)CityService
(83)ClientAnswerService
(83)ClientCategoryService
(83)ClientService
(83)ConsultationCategoryService
(83)ConsultationService
(83)TestAnswerContextService
(83)TestAnswerService
(83)TestBlockService
(83)TestCategoryService
(83)TestQuestionRequiresService
(83)TestQuestionService

TOTAL LINES IN PROJECT

Total lines count: 8 296 772
Vendor: 5 923 596
Project: 2 373 176
_______________________

Generated SQL:

        SET FOREIGN_KEY_CHECKS = 0;



                DROP TABLE IF EXISTS `client`;
                CREATE TABLE `client` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `user_id` int(11) DEFAULT NULL,

                        `city_id` int(11) DEFAULT NULL,

                        `client_category_id` int(11) DEFAULT NULL,

                        `type` int(2) DEFAULT NULL,

                        `birthday_at` INT(11) null,

                        `age` int(3) DEFAULT NULL,

                  PRIMARY KEY (`id`)
                  ,
                        CONSTRAINT `client_user_id__user`
                        FOREIGN KEY (`user_id`)
                        REFERENCES `user` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE
                    ,
                        CONSTRAINT `client_city_id__city`
                        FOREIGN KEY (`city_id`)
                        REFERENCES `city` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE
                    ,
                        CONSTRAINT `client_client_category_id__client_category`
                        FOREIGN KEY (`client_category_id`)
                        REFERENCES `client_category` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



                DROP TABLE IF EXISTS `city`;
                CREATE TABLE `city` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `title` VARCHAR(255) DEFAULT NULL,

                        `country` VARCHAR(255) DEFAULT NULL,

                        `flag` VARCHAR(255) DEFAULT NULL,

                  PRIMARY KEY (`id`)

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



                DROP TABLE IF EXISTS `client_category`;
                CREATE TABLE `client_category` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `name` VARCHAR(255) DEFAULT NULL,

                        `description` VARCHAR(255) DEFAULT NULL,

                  PRIMARY KEY (`id`)

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



                DROP TABLE IF EXISTS `consultation`;
                CREATE TABLE `consultation` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `consultation_category_id` int(11) DEFAULT NULL,

                        `client_id` int(11) DEFAULT NULL,

                        `name` VARCHAR(255) DEFAULT NULL,

                  PRIMARY KEY (`id`)
                  ,
                        CONSTRAINT `consultation_consultation_category_id__consultation_category`
                        FOREIGN KEY (`consultation_category_id`)
                        REFERENCES `consultation_category` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE
                    ,
                        CONSTRAINT `consultation_client_id__client`
                        FOREIGN KEY (`client_id`)
                        REFERENCES `client` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



                DROP TABLE IF EXISTS `consultation_category`;
                CREATE TABLE `consultation_category` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `name` VARCHAR(255) DEFAULT NULL,

                        `description` VARCHAR(255) DEFAULT NULL,

                        `tags` VARCHAR(255) DEFAULT NULL,

                  PRIMARY KEY (`id`)

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



                DROP TABLE IF EXISTS `client_answer`;
                CREATE TABLE `client_answer` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `client_id` int(11) DEFAULT NULL,

                        `test_question_id` int(11) DEFAULT NULL,

                        `test_answer_id` int(11) DEFAULT NULL,

                        `test_answer_text` VARCHAR(255) DEFAULT NULL,

                  PRIMARY KEY (`id`)
                  ,
                        CONSTRAINT `client_answer_client_id__client`
                        FOREIGN KEY (`client_id`)
                        REFERENCES `client` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE
                    ,
                        CONSTRAINT `client_answer_test_question_id__test_question`
                        FOREIGN KEY (`test_question_id`)
                        REFERENCES `test_question` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE
                    ,
                        CONSTRAINT `client_answer_test_answer_id__test_answer`
                        FOREIGN KEY (`test_answer_id`)
                        REFERENCES `test_answer` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



                DROP TABLE IF EXISTS `test_category`;
                CREATE TABLE `test_category` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `title` VARCHAR(255) NOT NULL,

                        `description` VARCHAR(255) DEFAULT NULL,

                        `status` VARCHAR(255) DEFAULT NULL,

                        `is_disabled` TINYINT(1) DEFAULT NULL,

                        `order` VARCHAR(255) DEFAULT NULL,

                  PRIMARY KEY (`id`)

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



                DROP TABLE IF EXISTS `test_block`;
                CREATE TABLE `test_block` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `title` VARCHAR(255) NOT NULL,

                        `is_disabled` TINYINT(1) DEFAULT NULL,

                        `order` VARCHAR(255) DEFAULT NULL,

                  PRIMARY KEY (`id`)

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



                DROP TABLE IF EXISTS `test_question`;
                CREATE TABLE `test_question` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `test_category_id` int(11) NOT NULL,

                        `test_block_id` int(11) DEFAULT NULL,

                        `title` VARCHAR(255) NOT NULL,

                        `description` text DEFAULT NULL,

                        `type` tinyint(1) DEFAULT '1',

                        `is_disabled` TINYINT(1) DEFAULT NULL,

                        `order` VARCHAR(255) DEFAULT NULL,

                  PRIMARY KEY (`id`)
                  ,
                        CONSTRAINT `test_question_test_category_id__test_category`
                        FOREIGN KEY (`test_category_id`)
                        REFERENCES `test_category` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE
                    ,
                        CONSTRAINT `test_question_test_block_id__test_block`
                        FOREIGN KEY (`test_block_id`)
                        REFERENCES `test_block` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



                DROP TABLE IF EXISTS `test_answer`;
                CREATE TABLE `test_answer` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `test_question_id` int(11) DEFAULT NULL,

                        `title` VARCHAR(255) NOT NULL,

                        `is_disabled` TINYINT(1) DEFAULT NULL,

                        `order` VARCHAR(255) DEFAULT NULL,

                  PRIMARY KEY (`id`)
                  ,
                        CONSTRAINT `test_answer_test_question_id__test_question`
                        FOREIGN KEY (`test_question_id`)
                        REFERENCES `test_question` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



                DROP TABLE IF EXISTS `test_question_requires`;
                CREATE TABLE `test_question_requires` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `test_answer_id` int(11) DEFAULT NULL,

                        `test_question_id` int(11) DEFAULT NULL,

                  PRIMARY KEY (`id`)
                  ,
                        CONSTRAINT `test_question_requires_test_answer_id__test_answer`
                        FOREIGN KEY (`test_answer_id`)
                        REFERENCES `test_answer` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE
                    ,
                        CONSTRAINT `test_question_requires_test_question_id__test_question`
                        FOREIGN KEY (`test_question_id`)
                        REFERENCES `test_question` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



                DROP TABLE IF EXISTS `test_answer_context`;
                CREATE TABLE `test_answer_context` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `test_answer_id` int(11) DEFAULT NULL,

                        `test_question_id` int(11) DEFAULT NULL,

                        `test_answer_context_id` int(11) DEFAULT NULL,

                  PRIMARY KEY (`id`)
                  ,
                        CONSTRAINT `test_answer_context_test_answer_id__test_answer`
                        FOREIGN KEY (`test_answer_id`)
                        REFERENCES `test_answer` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE
                    ,
                        CONSTRAINT `test_answer_context_test_question_id__test_question`
                        FOREIGN KEY (`test_question_id`)
                        REFERENCES `test_question` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE
                    ,
                        CONSTRAINT `test_answer_context_test_answer_context_id__test_answer_context`
                        FOREIGN KEY (`test_answer_context_id`)
                        REFERENCES `test_answer_context` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


        SET FOREIGN_KEY_CHECKS = 0;



                DROP TABLE IF EXISTS `client`;
                CREATE TABLE `client` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `user_id` int(11) DEFAULT NULL,

                        `city_id` int(11) DEFAULT NULL,

                        `client_category_id` int(11) DEFAULT NULL,

                        `type` int(2) DEFAULT NULL,

                        `birthday_at` INT(11) null,

                        `age` int(3) DEFAULT NULL,

                  PRIMARY KEY (`id`)
                  ,
                        CONSTRAINT `client_user_id__user`
                        FOREIGN KEY (`user_id`)
                        REFERENCES `user` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE
                    ,
                        CONSTRAINT `client_city_id__city`
                        FOREIGN KEY (`city_id`)
                        REFERENCES `city` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE
                    ,
                        CONSTRAINT `client_client_category_id__client_category`
                        FOREIGN KEY (`client_category_id`)
                        REFERENCES `client_category` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



                DROP TABLE IF EXISTS `city`;
                CREATE TABLE `city` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `title` VARCHAR(255) DEFAULT NULL,

                        `country` VARCHAR(255) DEFAULT NULL,

                        `flag` VARCHAR(255) DEFAULT NULL,

                  PRIMARY KEY (`id`)

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



                DROP TABLE IF EXISTS `client_category`;
                CREATE TABLE `client_category` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `name` VARCHAR(255) DEFAULT NULL,

                        `description` VARCHAR(255) DEFAULT NULL,

                  PRIMARY KEY (`id`)

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



                DROP TABLE IF EXISTS `consultation`;
                CREATE TABLE `consultation` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `consultation_category_id` int(11) DEFAULT NULL,

                        `client_id` int(11) DEFAULT NULL,

                        `name` VARCHAR(255) DEFAULT NULL,

                  PRIMARY KEY (`id`)
                  ,
                        CONSTRAINT `consultation_consultation_category_id__consultation_category`
                        FOREIGN KEY (`consultation_category_id`)
                        REFERENCES `consultation_category` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE
                    ,
                        CONSTRAINT `consultation_client_id__client`
                        FOREIGN KEY (`client_id`)
                        REFERENCES `client` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



                DROP TABLE IF EXISTS `consultation_category`;
                CREATE TABLE `consultation_category` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `name` VARCHAR(255) DEFAULT NULL,

                        `description` VARCHAR(255) DEFAULT NULL,

                        `tags` VARCHAR(255) DEFAULT NULL,

                  PRIMARY KEY (`id`)

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



                DROP TABLE IF EXISTS `client_answer`;
                CREATE TABLE `client_answer` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `client_id` int(11) DEFAULT NULL,

                        `test_question_id` int(11) DEFAULT NULL,

                        `test_answer_id` int(11) DEFAULT NULL,

                        `test_answer_text` VARCHAR(255) DEFAULT NULL,

                  PRIMARY KEY (`id`)
                  ,
                        CONSTRAINT `client_answer_client_id__client`
                        FOREIGN KEY (`client_id`)
                        REFERENCES `client` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE
                    ,
                        CONSTRAINT `client_answer_test_question_id__test_question`
                        FOREIGN KEY (`test_question_id`)
                        REFERENCES `test_question` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE
                    ,
                        CONSTRAINT `client_answer_test_answer_id__test_answer`
                        FOREIGN KEY (`test_answer_id`)
                        REFERENCES `test_answer` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



                DROP TABLE IF EXISTS `test_category`;
                CREATE TABLE `test_category` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `title` VARCHAR(255) NOT NULL,

                        `description` VARCHAR(255) DEFAULT NULL,

                        `status` VARCHAR(255) DEFAULT NULL,

                        `is_disabled` TINYINT(1) DEFAULT NULL,

                        `order` VARCHAR(255) DEFAULT NULL,

                  PRIMARY KEY (`id`)

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



                DROP TABLE IF EXISTS `test_block`;
                CREATE TABLE `test_block` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `title` VARCHAR(255) NOT NULL,

                        `is_disabled` TINYINT(1) DEFAULT NULL,

                        `order` VARCHAR(255) DEFAULT NULL,

                  PRIMARY KEY (`id`)

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



                DROP TABLE IF EXISTS `test_question`;
                CREATE TABLE `test_question` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `test_category_id` int(11) NOT NULL,

                        `test_block_id` int(11) DEFAULT NULL,

                        `title` VARCHAR(255) NOT NULL,

                        `description` text DEFAULT NULL,

                        `type` tinyint(1) DEFAULT '1',

                        `is_disabled` TINYINT(1) DEFAULT NULL,

                        `order` VARCHAR(255) DEFAULT NULL,

                  PRIMARY KEY (`id`)
                  ,
                        CONSTRAINT `test_question_test_category_id__test_category`
                        FOREIGN KEY (`test_category_id`)
                        REFERENCES `test_category` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE
                    ,
                        CONSTRAINT `test_question_test_block_id__test_block`
                        FOREIGN KEY (`test_block_id`)
                        REFERENCES `test_block` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



                DROP TABLE IF EXISTS `test_answer`;
                CREATE TABLE `test_answer` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `test_question_id` int(11) DEFAULT NULL,

                        `title` VARCHAR(255) NOT NULL,

                        `is_disabled` TINYINT(1) DEFAULT NULL,

                        `order` VARCHAR(255) DEFAULT NULL,

                  PRIMARY KEY (`id`)
                  ,
                        CONSTRAINT `test_answer_test_question_id__test_question`
                        FOREIGN KEY (`test_question_id`)
                        REFERENCES `test_question` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



                DROP TABLE IF EXISTS `test_question_requires`;
                CREATE TABLE `test_question_requires` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `test_answer_id` int(11) DEFAULT NULL,

                        `test_question_id` int(11) DEFAULT NULL,

                  PRIMARY KEY (`id`)
                  ,
                        CONSTRAINT `test_question_requires_test_answer_id__test_answer`
                        FOREIGN KEY (`test_answer_id`)
                        REFERENCES `test_answer` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE
                    ,
                        CONSTRAINT `test_question_requires_test_question_id__test_question`
                        FOREIGN KEY (`test_question_id`)
                        REFERENCES `test_question` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



                DROP TABLE IF EXISTS `test_answer_context`;
                CREATE TABLE `test_answer_context` (
                  `id` int(11) NOT NULL AUTO_INCREMENT,

                        `test_answer_id` int(11) DEFAULT NULL,

                        `test_question_id` int(11) DEFAULT NULL,

                        `test_answer_context_id` int(11) DEFAULT NULL,

                  PRIMARY KEY (`id`)
                  ,
                        CONSTRAINT `test_answer_context_test_answer_id__test_answer`
                        FOREIGN KEY (`test_answer_id`)
                        REFERENCES `test_answer` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE
                    ,
                        CONSTRAINT `test_answer_context_test_question_id__test_question`
                        FOREIGN KEY (`test_question_id`)
                        REFERENCES `test_question` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE
                    ,
                        CONSTRAINT `test_answer_context_test_answer_context_id__test_answer_context`
                        FOREIGN KEY (`test_answer_context_id`)
                        REFERENCES `test_answer_context` (`id`)
                        ON UPDATE CASCADE
                        ON DELETE CASCADE

                ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


                    -- ------------------------------------------------
        INSERT INTO rbac_auth_item (name, type) VALUES ('BackendClientFull', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendClientEdit', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendClientView', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationClientFull', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationClientEdit', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationClientView', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('BackendCityFull', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendCityEdit', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendCityView', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationCityFull', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationCityEdit', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationCityView', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('BackendClientCategoryFull', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendClientCategoryEdit', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendClientCategoryView', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationClientCategoryFull', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationClientCategoryEdit', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationClientCategoryView', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('BackendConsultationFull', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendConsultationEdit', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendConsultationView', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationConsultationFull', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationConsultationEdit', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationConsultationView', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('BackendConsultationCategoryFull', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendConsultationCategoryEdit', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendConsultationCategoryView', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationConsultationCategoryFull', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationConsultationCategoryEdit', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationConsultationCategoryView', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('BackendClientAnswerFull', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendClientAnswerEdit', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendClientAnswerView', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationClientAnswerFull', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationClientAnswerEdit', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationClientAnswerView', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('BackendTestCategoryFull', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendTestCategoryEdit', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendTestCategoryView', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationTestCategoryFull', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationTestCategoryEdit', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationTestCategoryView', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('BackendTestBlockFull', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendTestBlockEdit', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendTestBlockView', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationTestBlockFull', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationTestBlockEdit', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationTestBlockView', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('BackendTestQuestionFull', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendTestQuestionEdit', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendTestQuestionView', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationTestQuestionFull', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationTestQuestionEdit', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationTestQuestionView', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('BackendTestAnswerFull', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendTestAnswerEdit', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendTestAnswerView', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationTestAnswerFull', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationTestAnswerEdit', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationTestAnswerView', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('BackendTestQuestionRequiresFull', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendTestQuestionRequiresEdit', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendTestQuestionRequiresView', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationTestQuestionRequiresFull', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationTestQuestionRequiresEdit', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationTestQuestionRequiresView', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('BackendTestAnswerContextFull', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendTestAnswerContextEdit', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('BackendTestAnswerContextView', 1) ;INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationTestAnswerContextFull', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationTestAnswerContextEdit', 1);INSERT INTO rbac_auth_item (name, type) VALUES ('ApplicationTestAnswerContextView', 1);
Save