CREATE TABLE IF NOT EXISTS `#__getbible_linker` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `guid` VARCHAR(36) NOT NULL DEFAULT '', `name` VARCHAR(255) NOT NULL DEFAULT '', `params` text NULL, `published` TINYINT(3) NOT NULL DEFAULT 1, `created_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `checked_out` int(11) unsigned NOT NULL DEFAULT 0, `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `version` INT(10) unsigned NOT NULL DEFAULT 1, `hits` INT(10) unsigned NOT NULL DEFAULT 0, `access` INT(10) unsigned NOT NULL DEFAULT 0, `ordering` INT(11) NOT NULL DEFAULT 0, PRIMARY KEY (`id`), KEY `idx_name` (`name`), KEY `idx_guid` (`guid`), KEY `idx_access` (`access`), KEY `idx_checkout` (`checked_out`), KEY `idx_createdby` (`created_by`), KEY `idx_modifiedby` (`modified_by`), KEY `idx_state` (`published`) ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; CREATE TABLE IF NOT EXISTS `#__getbible_note` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `access` TINYINT(1) NOT NULL DEFAULT 0, `book_nr` INT(7) NOT NULL DEFAULT 0, `chapter` INT(7) NOT NULL DEFAULT 0, `guid` VARCHAR(36) NOT NULL DEFAULT '', `linker` VARCHAR(36) NOT NULL DEFAULT '', `note` TEXT NOT NULL, `verse` INT(7) NOT NULL DEFAULT 0, `params` text NULL, `published` TINYINT(3) NOT NULL DEFAULT 1, `created_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `checked_out` int(11) unsigned NOT NULL DEFAULT 0, `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `version` INT(10) unsigned NOT NULL DEFAULT 1, `hits` INT(10) unsigned NOT NULL DEFAULT 0, `ordering` INT(11) NOT NULL DEFAULT 0, PRIMARY KEY (`id`), KEY `idx_book_nr` (`book_nr`), KEY `idx_linker` (`linker`), KEY `idx_guid` (`guid`), KEY `idx_verse` (`verse`), KEY `idx_chapter` (`chapter`), KEY `idx_access` (`access`), KEY `idx_checkout` (`checked_out`), KEY `idx_createdby` (`created_by`), KEY `idx_modifiedby` (`modified_by`), KEY `idx_state` (`published`) ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; CREATE TABLE IF NOT EXISTS `#__getbible_tagged_verse` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `abbreviation` VARCHAR(100) NOT NULL DEFAULT '', `access` TINYINT(1) NOT NULL DEFAULT 0, `book_nr` INT(7) NOT NULL DEFAULT 0, `chapter` INT(7) NOT NULL DEFAULT 0, `guid` VARCHAR(36) NOT NULL DEFAULT '', `linker` VARCHAR(36) NOT NULL DEFAULT '', `tag` VARCHAR(36) NOT NULL DEFAULT '', `verse` INT(7) NOT NULL DEFAULT 0, `params` text NULL, `published` TINYINT(3) NOT NULL DEFAULT 1, `created_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `checked_out` int(11) unsigned NOT NULL DEFAULT 0, `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `version` INT(10) unsigned NOT NULL DEFAULT 1, `hits` INT(10) unsigned NOT NULL DEFAULT 0, `ordering` INT(11) NOT NULL DEFAULT 0, PRIMARY KEY (`id`), KEY `idx_book_nr` (`book_nr`), KEY `idx_abbreviation` (`abbreviation`), KEY `idx_linker` (`linker`), KEY `idx_tag` (`tag`), KEY `idx_guid` (`guid`), KEY `idx_verse` (`verse`), KEY `idx_chapter` (`chapter`), KEY `idx_access` (`access`), KEY `idx_checkout` (`checked_out`), KEY `idx_createdby` (`created_by`), KEY `idx_modifiedby` (`modified_by`), KEY `idx_state` (`published`) ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; CREATE TABLE IF NOT EXISTS `#__getbible_prompt` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `abbreviation` VARCHAR(100) NOT NULL DEFAULT '', `ai_org_token_override` TINYINT(1) NOT NULL DEFAULT 0, `cache_behaviour` TINYINT(1) NOT NULL DEFAULT 0, `cache_capacity` INT(11) NOT NULL DEFAULT 0, `frequency_penalty` FLOAT(11) NOT NULL DEFAULT 0, `frequency_penalty_override` TINYINT(1) NOT NULL DEFAULT 0, `guid` VARCHAR(36) NOT NULL DEFAULT '', `integration` TINYINT(1) NOT NULL DEFAULT 1, `max_tokens` INT(11) NOT NULL DEFAULT 0, `max_tokens_override` TINYINT(1) NOT NULL DEFAULT 0, `messages` TEXT NOT NULL, `model` VARCHAR(50) NOT NULL DEFAULT '', `n` INT(7) NOT NULL DEFAULT 0, `n_override` TINYINT(1) NOT NULL DEFAULT 0, `name` VARCHAR(255) NOT NULL DEFAULT '', `org_token` VARCHAR(100) NOT NULL DEFAULT '', `presence_penalty` FLOAT(11) NOT NULL DEFAULT 0, `presence_penalty_override` TINYINT(1) NOT NULL DEFAULT 0, `response_retrieval` TINYINT(1) NOT NULL DEFAULT 0, `temperature` FLOAT(11) NOT NULL DEFAULT 0, `temperature_override` TINYINT(1) NOT NULL DEFAULT 0, `token` VARCHAR(100) NOT NULL DEFAULT '', `token_override` TINYINT(1) NOT NULL DEFAULT 0, `top_p` FLOAT(11) NOT NULL DEFAULT 0, `top_p_override` TINYINT(1) NOT NULL DEFAULT 0, `params` text NULL, `published` TINYINT(3) NOT NULL DEFAULT 1, `created_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `checked_out` int(11) unsigned NOT NULL DEFAULT 0, `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `version` INT(10) unsigned NOT NULL DEFAULT 1, `hits` INT(10) unsigned NOT NULL DEFAULT 0, `access` INT(10) unsigned NOT NULL DEFAULT 0, `ordering` INT(11) NOT NULL DEFAULT 0, PRIMARY KEY (`id`), KEY `idx_name` (`name`), KEY `idx_integration` (`integration`), KEY `idx_cache_behaviour` (`cache_behaviour`), KEY `idx_abbreviation` (`abbreviation`), KEY `idx_guid` (`guid`), KEY `idx_model` (`model`), KEY `idx_access` (`access`), KEY `idx_checkout` (`checked_out`), KEY `idx_createdby` (`created_by`), KEY `idx_modifiedby` (`modified_by`), KEY `idx_state` (`published`) ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; CREATE TABLE IF NOT EXISTS `#__getbible_open_ai_response` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `abbreviation` VARCHAR(100) NOT NULL DEFAULT '', `book` INT(11) NOT NULL DEFAULT 0, `chapter` INT(11) NOT NULL DEFAULT 0, `completion_tokens` INT(11) NOT NULL DEFAULT 0, `frequency_penalty` FLOAT(11) NOT NULL DEFAULT 0, `language` VARCHAR(255) NOT NULL DEFAULT '', `lcsh` VARCHAR(255) NOT NULL DEFAULT '', `max_tokens` INT(11) NOT NULL DEFAULT 0, `model` VARCHAR(50) NOT NULL DEFAULT '', `n` INT(7) NOT NULL DEFAULT 0, `presence_penalty` FLOAT(11) NOT NULL DEFAULT 0, `prompt` VARCHAR(36) NOT NULL DEFAULT '', `prompt_tokens` INT(11) NOT NULL DEFAULT 0, `response_created` VARCHAR(255) NOT NULL DEFAULT '', `response_id` VARCHAR(255) NOT NULL DEFAULT '', `response_model` VARCHAR(255) NOT NULL DEFAULT '', `response_object` VARCHAR(255) NOT NULL DEFAULT '', `selected_word` TEXT NOT NULL, `temperature` FLOAT(11) NOT NULL DEFAULT 0, `top_p` FLOAT(11) NOT NULL DEFAULT 0, `total_tokens` INT(11) NOT NULL DEFAULT 0, `verse` VARCHAR(255) NOT NULL DEFAULT '', `word` VARCHAR(255) NOT NULL DEFAULT '', `params` text NULL, `published` TINYINT(3) NOT NULL DEFAULT 1, `created_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `checked_out` int(11) unsigned NOT NULL DEFAULT 0, `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `version` INT(10) unsigned NOT NULL DEFAULT 1, `hits` INT(10) unsigned NOT NULL DEFAULT 0, `access` INT(10) unsigned NOT NULL DEFAULT 0, `ordering` INT(11) NOT NULL DEFAULT 0, PRIMARY KEY (`id`), KEY `idx_response_id` (`response_id`), KEY `idx_prompt` (`prompt`), KEY `idx_response_object` (`response_object`), KEY `idx_response_model` (`response_model`), KEY `idx_total_tokens` (`total_tokens`), KEY `idx_word` (`word`), KEY `idx_chapter` (`chapter`), KEY `idx_lcsh` (`lcsh`), KEY `idx_completion_tokens` (`completion_tokens`), KEY `idx_prompt_tokens` (`prompt_tokens`), KEY `idx_response_created` (`response_created`), KEY `idx_abbreviation` (`abbreviation`), KEY `idx_language` (`language`), KEY `idx_book` (`book`), KEY `idx_verse` (`verse`), KEY `idx_model` (`model`), KEY `idx_access` (`access`), KEY `idx_checkout` (`checked_out`), KEY `idx_createdby` (`created_by`), KEY `idx_modifiedby` (`modified_by`), KEY `idx_state` (`published`) ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; CREATE TABLE IF NOT EXISTS `#__getbible_open_ai_message` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `content` TEXT NOT NULL, `index` INT(11) NOT NULL DEFAULT 0, `name` VARCHAR(255) NOT NULL DEFAULT '', `open_ai_response` VARCHAR(255) NOT NULL DEFAULT '', `prompt` VARCHAR(36) NOT NULL DEFAULT '', `role` VARCHAR(255) NOT NULL DEFAULT '', `source` TINYINT(1) NOT NULL DEFAULT 0, `params` text NULL, `published` TINYINT(3) NOT NULL DEFAULT 1, `created_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `checked_out` int(11) unsigned NOT NULL DEFAULT 0, `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `version` INT(10) unsigned NOT NULL DEFAULT 1, `hits` INT(10) unsigned NOT NULL DEFAULT 0, `access` INT(10) unsigned NOT NULL DEFAULT 0, `ordering` INT(11) NOT NULL DEFAULT 0, PRIMARY KEY (`id`), KEY `idx_role` (`role`), KEY `idx_open_ai_response` (`open_ai_response`), KEY `idx_prompt` (`prompt`), KEY `idx_source` (`source`), KEY `idx_access` (`access`), KEY `idx_checkout` (`checked_out`), KEY `idx_createdby` (`created_by`), KEY `idx_modifiedby` (`modified_by`), KEY `idx_state` (`published`) ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; CREATE TABLE IF NOT EXISTS `#__getbible_password` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `guid` VARCHAR(36) NOT NULL DEFAULT '', `linker` VARCHAR(36) NOT NULL DEFAULT '', `name` VARCHAR(255) NOT NULL DEFAULT '', `password` VARCHAR(100) NOT NULL DEFAULT '', `params` text NULL, `published` TINYINT(3) NOT NULL DEFAULT 1, `created_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `checked_out` int(11) unsigned NOT NULL DEFAULT 0, `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `version` INT(10) unsigned NOT NULL DEFAULT 1, `hits` INT(10) unsigned NOT NULL DEFAULT 0, `access` INT(10) unsigned NOT NULL DEFAULT 0, `ordering` INT(11) NOT NULL DEFAULT 0, PRIMARY KEY (`id`), KEY `idx_name` (`name`), KEY `idx_linker` (`linker`), KEY `idx_guid` (`guid`), KEY `idx_access` (`access`), KEY `idx_checkout` (`checked_out`), KEY `idx_createdby` (`created_by`), KEY `idx_modifiedby` (`modified_by`), KEY `idx_state` (`published`) ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; CREATE TABLE IF NOT EXISTS `#__getbible_tag` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `access` TINYINT(1) NOT NULL DEFAULT 0, `description` TEXT NOT NULL, `guid` VARCHAR(36) NOT NULL DEFAULT '', `linker` VARCHAR(36) NOT NULL DEFAULT '', `name` VARCHAR(255) NOT NULL DEFAULT '', `params` text NULL, `published` TINYINT(3) NOT NULL DEFAULT 1, `created_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `checked_out` int(11) unsigned NOT NULL DEFAULT 0, `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `version` INT(10) unsigned NOT NULL DEFAULT 1, `hits` INT(10) unsigned NOT NULL DEFAULT 0, `ordering` INT(11) NOT NULL DEFAULT 0, PRIMARY KEY (`id`), KEY `idx_name` (`name`), KEY `idx_linker` (`linker`), KEY `idx_guid` (`guid`), KEY `idx_access` (`access`), KEY `idx_checkout` (`checked_out`), KEY `idx_createdby` (`created_by`), KEY `idx_modifiedby` (`modified_by`), KEY `idx_state` (`published`) ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; CREATE TABLE IF NOT EXISTS `#__getbible_translation` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `abbreviation` VARCHAR(64) NOT NULL DEFAULT '', `direction` VARCHAR(64) NOT NULL DEFAULT '', `distribution_abbreviation` VARCHAR(64) NOT NULL DEFAULT '', `distribution_about` TEXT NOT NULL, `distribution_history` TEXT NOT NULL, `distribution_lcsh` VARCHAR(64) NOT NULL DEFAULT '', `distribution_license` TEXT NOT NULL, `distribution_source` VARCHAR(255) NOT NULL DEFAULT '', `distribution_sourcetype` VARCHAR(64) NOT NULL DEFAULT '', `distribution_versification` VARCHAR(64) NOT NULL DEFAULT '', `distribution_version` VARCHAR(64) NOT NULL DEFAULT '', `distribution_version_date` VARCHAR(64) NOT NULL DEFAULT '', `encoding` VARCHAR(64) NOT NULL DEFAULT '', `lang` VARCHAR(255) NOT NULL DEFAULT '', `language` VARCHAR(100) NOT NULL DEFAULT '', `sha` VARCHAR(64) NOT NULL DEFAULT '', `translation` VARCHAR(255) NOT NULL DEFAULT '', `params` text NULL, `published` TINYINT(3) NOT NULL DEFAULT 1, `created_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `checked_out` int(11) unsigned NOT NULL DEFAULT 0, `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `version` INT(10) unsigned NOT NULL DEFAULT 1, `hits` INT(10) unsigned NOT NULL DEFAULT 0, `access` INT(10) unsigned NOT NULL DEFAULT 0, `ordering` INT(11) NOT NULL DEFAULT 0, PRIMARY KEY (`id`), KEY `idx_translation` (`translation`), KEY `idx_access` (`access`), KEY `idx_checkout` (`checked_out`), KEY `idx_createdby` (`created_by`), KEY `idx_modifiedby` (`modified_by`), KEY `idx_state` (`published`) ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; CREATE TABLE IF NOT EXISTS `#__getbible_book` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `abbreviation` VARCHAR(100) NOT NULL DEFAULT '', `name` VARCHAR(255) NOT NULL DEFAULT '', `nr` INT(7) NOT NULL DEFAULT 0, `sha` VARCHAR(64) NOT NULL DEFAULT '', `params` text NULL, `published` TINYINT(3) NOT NULL DEFAULT 1, `created_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `checked_out` int(11) unsigned NOT NULL DEFAULT 0, `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `version` INT(10) unsigned NOT NULL DEFAULT 1, `hits` INT(10) unsigned NOT NULL DEFAULT 0, `access` INT(10) unsigned NOT NULL DEFAULT 0, `ordering` INT(11) NOT NULL DEFAULT 0, PRIMARY KEY (`id`), KEY `idx_name` (`name`), KEY `idx_abbreviation` (`abbreviation`), KEY `idx_nr` (`nr`), KEY `idx_access` (`access`), KEY `idx_checkout` (`checked_out`), KEY `idx_createdby` (`created_by`), KEY `idx_modifiedby` (`modified_by`), KEY `idx_state` (`published`) ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; CREATE TABLE IF NOT EXISTS `#__getbible_chapter` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `abbreviation` VARCHAR(100) NOT NULL DEFAULT '', `book_nr` INT(7) NOT NULL DEFAULT 0, `chapter` INT(7) NOT NULL DEFAULT 0, `name` VARCHAR(255) NOT NULL DEFAULT '', `sha` VARCHAR(64) NOT NULL DEFAULT '', `params` text NULL, `published` TINYINT(3) NOT NULL DEFAULT 1, `created_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `checked_out` int(11) unsigned NOT NULL DEFAULT 0, `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `version` INT(10) unsigned NOT NULL DEFAULT 1, `hits` INT(10) unsigned NOT NULL DEFAULT 0, `access` INT(10) unsigned NOT NULL DEFAULT 0, `ordering` INT(11) NOT NULL DEFAULT 0, PRIMARY KEY (`id`), KEY `idx_name` (`name`), KEY `idx_chapter` (`chapter`), KEY `idx_book_nr` (`book_nr`), KEY `idx_abbreviation` (`abbreviation`), KEY `idx_access` (`access`), KEY `idx_checkout` (`checked_out`), KEY `idx_createdby` (`created_by`), KEY `idx_modifiedby` (`modified_by`), KEY `idx_state` (`published`) ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci; CREATE TABLE IF NOT EXISTS `#__getbible_verse` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.', `abbreviation` VARCHAR(100) NOT NULL DEFAULT '', `book_nr` INT(7) NOT NULL DEFAULT 0, `chapter` INT(7) NOT NULL DEFAULT 0, `name` VARCHAR(255) NOT NULL DEFAULT '', `text` TEXT NOT NULL, `verse` INT(7) NOT NULL DEFAULT 0, `params` text NULL, `published` TINYINT(3) NOT NULL DEFAULT 1, `created_by` INT(10) unsigned NOT NULL DEFAULT 0, `modified_by` INT(10) unsigned NOT NULL DEFAULT 0, `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `checked_out` int(11) unsigned NOT NULL DEFAULT 0, `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `version` INT(10) unsigned NOT NULL DEFAULT 1, `hits` INT(10) unsigned NOT NULL DEFAULT 0, `access` INT(10) unsigned NOT NULL DEFAULT 0, `ordering` INT(11) NOT NULL DEFAULT 0, PRIMARY KEY (`id`), KEY `idx_book_nr` (`book_nr`), KEY `idx_chapter` (`chapter`), KEY `idx_verse` (`verse`), KEY `idx_abbreviation` (`abbreviation`), KEY `idx_name` (`name`), KEY `idx_access` (`access`), KEY `idx_checkout` (`checked_out`), KEY `idx_createdby` (`created_by`), KEY `idx_modifiedby` (`modified_by`), KEY `idx_state` (`published`) ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;