mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 17:38:10 +00:00
indices
This commit is contained in:
1 parent
9b44f37e6d
commit
02cab25242
2 files changed
+4
-4
No files matched your search
@@ -13,7 +13,7 @@ CREATE TABLE characters (
|
||||
token VARCHAR(32) NOT NULL,
|
||||
|
||||
-- The type or "features" of the character.
|
||||
character_type VARCHAR(32) DEFAULT NULL,
|
||||
character_type VARCHAR(24) DEFAULT NULL,
|
||||
|
||||
-- Whether the character has been fully created and is available for use.
|
||||
-- A character may exist in the database before its creation job completes.
|
||||
@@ -91,10 +91,10 @@ CREATE TABLE characters (
|
||||
UNIQUE KEY (token),
|
||||
KEY index_character_type (character_type),
|
||||
KEY index_maybe_creator_user_token (maybe_creator_user_token),
|
||||
KEY index_maybe_creator_user_token_active (maybe_creator_user_token, is_active),
|
||||
KEY index_is_active (is_active),
|
||||
KEY index_kinovi_character_id (kinovi_character_id),
|
||||
KEY index_maybe_generic_inference_job_token (maybe_generic_inference_job_token),
|
||||
KEY index_maybe_kinovi_job_id (maybe_kinovi_job_id),
|
||||
KEY index_created_at (created_at),
|
||||
KEY index_deleted_at (deleted_at)
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ CREATE TABLE characters (
|
||||
token VARCHAR(32) NOT NULL,
|
||||
|
||||
-- The type or "features" of the character.
|
||||
character_type VARCHAR(32) DEFAULT NULL,
|
||||
character_type VARCHAR(24) DEFAULT NULL,
|
||||
|
||||
-- Whether the character has been fully created and is available for use.
|
||||
-- A character may exist in the database before its creation job completes.
|
||||
@@ -94,10 +94,10 @@ CREATE TABLE characters (
|
||||
UNIQUE KEY (token),
|
||||
KEY index_character_type (character_type),
|
||||
KEY index_maybe_creator_user_token (maybe_creator_user_token),
|
||||
KEY index_maybe_creator_user_token_active (maybe_creator_user_token, is_active),
|
||||
KEY index_is_active (is_active),
|
||||
KEY index_kinovi_character_id (kinovi_character_id),
|
||||
KEY index_maybe_generic_inference_job_token (maybe_generic_inference_job_token),
|
||||
KEY index_maybe_kinovi_job_id (maybe_kinovi_job_id),
|
||||
KEY index_created_at (created_at),
|
||||
KEY index_deleted_at (deleted_at)
|
||||
|
||||
|
||||
Reference in new issue
Block a user