ReferencePremium
CoullWorks Blog for Magento 2 database tables reference
Every table the module creates, with columns, types, defaults and foreign keys.
Updated 16 November 2026Back to the package pageBuy
Declarative schema tables created by the module. Column details are read from etc/db_schema.xml.
coullworks_blog_translation_group#
CoullWorks Blog Translation Group. Primary key: translation_group_id.
| Column | Type | Null | Default |
|---|---|---|---|
translation_group_id | int | no | |
label | varchar(255) | yes |
coullworks_blog_author#
CoullWorks Blog Author. Primary key: author_id.
| Column | Type | Null | Default |
|---|---|---|---|
author_id | int | no | |
url_key | varchar(255) | no | |
name | varchar(255) | no | |
job_title | varchar(255) | yes | |
bio | text | yes | |
avatar | varchar(255) | yes | |
email | varchar(255) | yes | |
admin_user_id | int | yes | |
is_active | boolean | no | 1 |
created_at | timestamp | no | CURRENT_TIMESTAMP |
updated_at | timestamp | no | CURRENT_TIMESTAMP |
Foreign keys: admin_user_id to admin_user.user_id (on delete set null).
coullworks_blog_post#
CoullWorks Blog Post. Primary key: post_id.
| Column | Type | Null | Default |
|---|---|---|---|
post_id | int | no | |
url_key | varchar(255) | no | |
title | varchar(255) | no | |
status | smallint | no | 0 |
template | varchar(32) | yes | |
short_content | text | yes | |
content | mediumtext | yes | |
featured_image | varchar(255) | yes | |
featured_image_alt | varchar(255) | yes | |
og_image | varchar(255) | yes | |
meta_title | varchar(255) | yes | |
meta_description | varchar(512) | yes | |
meta_robots | varchar(32) | yes | |
primary_author_id | int | yes | |
translation_group_id | int | yes | |
publish_at | datetime | yes | |
disable_at | datetime | yes | |
reading_minutes | smallint | no | 0 |
is_ai_assisted | boolean | no | 0 |
show_ai_disclosure | boolean | yes | |
comments_closed | boolean | yes | |
created_at | timestamp | no | CURRENT_TIMESTAMP |
updated_at | timestamp | no | CURRENT_TIMESTAMP |
created_by | int | yes | |
updated_by | int | yes | |
sort_at | datetime | yes | |
excerpt | varchar(255) | yes | |
first_published_at | datetime | yes |
Foreign keys: primary_author_id to coullworks_blog_author.author_id (on delete set null), translation_group_id to coullworks_blog_translation_group.translation_group_id (on delete set null), created_by to admin_user.user_id (on delete set null), updated_by to admin_user.user_id (on delete set null).
coullworks_blog_post_store#
CoullWorks Blog Post To Store. Primary key: post_id, store_id.
| Column | Type | Null | Default |
|---|---|---|---|
post_id | int | no | |
store_id | smallint | no |
Foreign keys: post_id to coullworks_blog_post.post_id (on delete cascade), store_id to store.store_id (on delete cascade).
coullworks_blog_post_customer_group#
CoullWorks Blog Post To Customer Group. Primary key: post_id, customer_group_id.
| Column | Type | Null | Default |
|---|---|---|---|
post_id | int | no | |
customer_group_id | int | no |
Foreign keys: post_id to coullworks_blog_post.post_id (on delete cascade), customer_group_id to customer_group.customer_group_id (on delete cascade).
coullworks_blog_author_link#
CoullWorks Blog Author Link. Primary key: link_id.
| Column | Type | Null | Default |
|---|---|---|---|
link_id | int | no | |
author_id | int | no | |
network | varchar(32) | no | |
url | varchar(512) | no | |
position | smallint | no | 0 |
Foreign keys: author_id to coullworks_blog_author.author_id (on delete cascade).
coullworks_blog_post_coauthor#
CoullWorks Blog Post Co-author. Primary key: post_id, author_id.
| Column | Type | Null | Default |
|---|---|---|---|
post_id | int | no | |
author_id | int | no | |
position | smallint | no | 0 |
Foreign keys: post_id to coullworks_blog_post.post_id (on delete cascade), author_id to coullworks_blog_author.author_id (on delete cascade).
coullworks_blog_category#
CoullWorks Blog Category. Primary key: category_id.
| Column | Type | Null | Default |
|---|---|---|---|
category_id | int | no | |
parent_id | int | yes | |
path | varchar(255) | no | |
level | smallint | no | 0 |
position | int | no | 0 |
url_key | varchar(255) | no | |
title | varchar(255) | no | |
description | mediumtext | yes | |
image | varchar(255) | yes | |
meta_title | varchar(255) | yes | |
meta_description | varchar(512) | yes | |
meta_robots | varchar(32) | yes | |
list_mode | varchar(8) | yes | |
posts_per_page | smallint | yes | |
include_in_menu | boolean | no | 1 |
is_active | boolean | no | 1 |
created_at | timestamp | no | CURRENT_TIMESTAMP |
updated_at | timestamp | no | CURRENT_TIMESTAMP |
Foreign keys: parent_id to coullworks_blog_category.category_id (on delete cascade).
coullworks_blog_category_store#
CoullWorks Blog Category To Store. Primary key: category_id, store_id.
| Column | Type | Null | Default |
|---|---|---|---|
category_id | int | no | |
store_id | smallint | no |
Foreign keys: category_id to coullworks_blog_category.category_id (on delete cascade), store_id to store.store_id (on delete cascade).
coullworks_blog_category_customer_group#
CoullWorks Blog Category To Customer Group. Primary key: category_id, customer_group_id.
| Column | Type | Null | Default |
|---|---|---|---|
category_id | int | no | |
customer_group_id | int | no |
Foreign keys: category_id to coullworks_blog_category.category_id (on delete cascade), customer_group_id to customer_group.customer_group_id (on delete cascade).
coullworks_blog_post_category#
CoullWorks Blog Post To Category. Primary key: post_id, category_id.
| Column | Type | Null | Default |
|---|---|---|---|
post_id | int | no | |
category_id | int | no | |
position | int | no | 0 |
Foreign keys: post_id to coullworks_blog_post.post_id (on delete cascade), category_id to coullworks_blog_category.category_id (on delete cascade).
coullworks_blog_tag#
CoullWorks Blog Tag. Primary key: tag_id.
| Column | Type | Null | Default |
|---|---|---|---|
tag_id | int | no | |
url_key | varchar(255) | no | |
title | varchar(255) | no | |
description | text | yes | |
meta_title | varchar(255) | yes | |
meta_description | varchar(512) | yes | |
meta_robots | varchar(32) | yes | |
is_active | boolean | no | 1 |
created_at | timestamp | no | CURRENT_TIMESTAMP |
updated_at | timestamp | no | CURRENT_TIMESTAMP |
coullworks_blog_tag_store#
CoullWorks Blog Tag To Store. Primary key: tag_id, store_id.
| Column | Type | Null | Default |
|---|---|---|---|
tag_id | int | no | |
store_id | smallint | no |
Foreign keys: tag_id to coullworks_blog_tag.tag_id (on delete cascade), store_id to store.store_id (on delete cascade).
coullworks_blog_post_tag#
CoullWorks Blog Post To Tag. Primary key: post_id, tag_id.
| Column | Type | Null | Default |
|---|---|---|---|
post_id | int | no | |
tag_id | int | no |
Foreign keys: post_id to coullworks_blog_post.post_id (on delete cascade), tag_id to coullworks_blog_tag.tag_id (on delete cascade).
coullworks_blog_post_takeaway#
CoullWorks Blog Post Takeaway. Primary key: takeaway_id.
| Column | Type | Null | Default |
|---|---|---|---|
takeaway_id | int | no | |
post_id | int | no | |
position | smallint | no | |
text | varchar(500) | no |
Foreign keys: post_id to coullworks_blog_post.post_id (on delete cascade).
coullworks_blog_post_faq#
CoullWorks Blog Post FAQ. Primary key: faq_id.
| Column | Type | Null | Default |
|---|---|---|---|
faq_id | int | no | |
post_id | int | no | |
position | smallint | no | |
question | varchar(500) | no | |
answer | text | no |
Foreign keys: post_id to coullworks_blog_post.post_id (on delete cascade).
coullworks_blog_post_related_post#
CoullWorks Blog Related Post. Primary key: post_id, related_post_id.
| Column | Type | Null | Default |
|---|---|---|---|
post_id | int | no | |
related_post_id | int | no | |
position | int | no | 0 |
Foreign keys: post_id to coullworks_blog_post.post_id (on delete cascade), related_post_id to coullworks_blog_post.post_id (on delete cascade).
coullworks_blog_post_related_product#
CoullWorks Blog Related Product. Primary key: post_id, product_id.
| Column | Type | Null | Default |
|---|---|---|---|
post_id | int | no | |
product_id | int | no | |
position | int | no | 0 |
Foreign keys: post_id to coullworks_blog_post.post_id (on delete cascade), product_id to catalog_product_entity.entity_id (on delete cascade).
coullworks_blog_post_related_product_rule#
CoullWorks Blog Related Product Rule. Primary key: post_id.
| Column | Type | Null | Default |
|---|---|---|---|
post_id | int | no | |
conditions_serialized | mediumtext | no | |
limit | smallint | no | 4 |
Foreign keys: post_id to coullworks_blog_post.post_id (on delete cascade).
coullworks_blog_post_revision#
CoullWorks Blog Post Revision. Primary key: revision_id.
| Column | Type | Null | Default |
|---|---|---|---|
revision_id | int | no | |
post_id | int | no | |
source | varchar(16) | no | |
title | varchar(255) | no | |
content | mediumtext | yes | |
short_content | text | yes | |
admin_user_id | int | yes | |
created_at | timestamp | no | CURRENT_TIMESTAMP |
Foreign keys: post_id to coullworks_blog_post.post_id (on delete cascade), admin_user_id to admin_user.user_id (on delete set null).
coullworks_blog_post_stat#
CoullWorks Blog Post Stat. Primary key: post_id.
| Column | Type | Null | Default |
|---|---|---|---|
post_id | int | no | |
view_count | int | no | 0 |
Foreign keys: post_id to coullworks_blog_post.post_id (on delete cascade).
coullworks_blog_comment#
CoullWorks Blog Comment. Primary key: comment_id.
| Column | Type | Null | Default |
|---|---|---|---|
comment_id | int | no | |
post_id | int | no | |
parent_id | int | yes | |
store_id | smallint | no | |
customer_id | int | yes | |
author_name | varchar(255) | no | |
author_email | varchar(255) | yes | |
content | text | no | |
status | smallint | no | 0 |
notify_on_reply | boolean | no | 0 |
is_admin_reply | boolean | no | 0 |
admin_user_id | int | yes | |
created_at | timestamp | no | CURRENT_TIMESTAMP |
updated_at | timestamp | no | CURRENT_TIMESTAMP |
reply_notified | boolean | no | 0 |
Foreign keys: post_id to coullworks_blog_post.post_id (on delete cascade), parent_id to coullworks_blog_comment.comment_id (on delete cascade), store_id to store.store_id (on delete cascade), customer_id to customer_entity.entity_id (on delete set null), admin_user_id to admin_user.user_id (on delete set null).
coullworks_blog_ai_brief#
CoullWorks Blog AI Brief. Primary key: brief_id.
| Column | Type | Null | Default |
|---|---|---|---|
brief_id | int | no | |
topic | varchar(500) | no | |
audience | varchar(255) | yes | |
angle | text | yes | |
target_keyword | varchar(255) | yes | |
word_count | smallint | yes | |
tone | varchar(64) | yes | |
featured_product_id | int | yes | |
featured_category_id | int | yes | |
admin_user_id | int | yes | |
store_id | smallint | no | 0 |
created_at | timestamp | no | CURRENT_TIMESTAMP |
Foreign keys: featured_product_id to catalog_product_entity.entity_id (on delete set null), featured_category_id to coullworks_blog_category.category_id (on delete set null), admin_user_id to admin_user.user_id (on delete set null).
coullworks_blog_ai_research_run#
CoullWorks Blog AI Research Run. Primary key: run_id.
| Column | Type | Null | Default |
|---|---|---|---|
run_id | int | no | |
brief_id | int | no | |
parent_run_id | int | yes | |
post_id | int | yes | |
kind | varchar(16) | no | |
provider | varchar(32) | no | |
model | varchar(128) | no | |
status | varchar(16) | no | |
input_tokens | int | yes | |
output_tokens | int | yes | |
cost_estimate | decimal | yes | |
cost_currency | varchar(3) | yes | |
error | text | yes | |
started_at | datetime | no | |
finished_at | datetime | yes | |
admin_user_id | int | yes |
Foreign keys: brief_id to coullworks_blog_ai_brief.brief_id (on delete cascade), parent_run_id to coullworks_blog_ai_research_run.run_id (on delete set null), post_id to coullworks_blog_post.post_id (on delete set null), admin_user_id to admin_user.user_id (on delete set null).
coullworks_blog_ai_source#
CoullWorks Blog AI Source. Primary key: source_id.
| Column | Type | Null | Default |
|---|---|---|---|
source_id | int | no | |
run_id | int | no | |
url | text | no | |
title | varchar(500) | yes | |
publisher | varchar(255) | yes | |
published_on | date | yes | |
fetched_at | datetime | no | |
is_pinned | boolean | no | 0 |
is_dropped | boolean | no | 0 |
Foreign keys: run_id to coullworks_blog_ai_research_run.run_id (on delete cascade).
coullworks_blog_ai_claim#
CoullWorks Blog AI Claim. Primary key: claim_id.
| Column | Type | Null | Default |
|---|---|---|---|
claim_id | int | no | |
run_id | int | no | |
source_id | int | no | |
claim | text | no | |
quote | text | yes | |
position | smallint | no | 0 |
Foreign keys: run_id to coullworks_blog_ai_research_run.run_id (on delete cascade), source_id to coullworks_blog_ai_source.source_id (on delete cascade).
coullworks_blog_ai_generation#
CoullWorks Blog AI Generation. Primary key: generation_id.
| Column | Type | Null | Default |
|---|---|---|---|
generation_id | int | no | |
run_id | int | no | |
kind | varchar(16) | no | |
provider | varchar(32) | no | |
model | varchar(128) | no | |
prompt_version | varchar(32) | no | |
output | mediumtext | yes | |
image_path | varchar(255) | yes | |
input_tokens | int | yes | |
output_tokens | int | yes | |
created_at | timestamp | no | CURRENT_TIMESTAMP |
Foreign keys: run_id to coullworks_blog_ai_research_run.run_id (on delete cascade).
coullworks_blog_ai_queue_item#
CoullWorks Blog AI Queue Item. Primary key: item_id.
| Column | Type | Null | Default |
|---|---|---|---|
item_id | int | no | |
brief_id | int | no | |
status | varchar(16) | no | |
scheduled_at | datetime | no | |
attempts | smallint | no | 0 |
started_at | datetime | yes | |
last_error | text | yes | |
run_id | int | yes | |
created_at | timestamp | no | CURRENT_TIMESTAMP |
Foreign keys: brief_id to coullworks_blog_ai_brief.brief_id (on delete cascade), run_id to coullworks_blog_ai_research_run.run_id (on delete set null).
coullworks_blog_import_job#
CoullWorks Blog Import Job. Primary key: job_id.
| Column | Type | Null | Default |
|---|---|---|---|
job_id | int | no | |
source | varchar(16) | no | |
is_dry_run | boolean | no | 0 |
file_path | varchar(512) | yes | |
status | varchar(16) | no | |
counts_json | text | yes | |
admin_user_id | int | yes | |
started_at | datetime | no | |
finished_at | datetime | yes |
Foreign keys: admin_user_id to admin_user.user_id (on delete set null).
coullworks_blog_import_log#
CoullWorks Blog Import Log. Primary key: log_id.
| Column | Type | Null | Default |
|---|---|---|---|
log_id | int | no | |
job_id | int | no | |
level | varchar(8) | no | |
entity_type | varchar(16) | yes | |
source_id | varchar(64) | yes | |
message | text | no | |
created_at | timestamp | no | CURRENT_TIMESTAMP |
Foreign keys: job_id to coullworks_blog_import_job.job_id (on delete cascade).
coullworks_blog_import_map#
CoullWorks Blog Import Map. Primary key: map_id.
| Column | Type | Null | Default |
|---|---|---|---|
map_id | int | no | |
source | varchar(16) | no | |
entity_type | varchar(16) | no | |
source_id | varchar(64) | no | |
target_id | int | no | |
first_job_id | int | yes | |
created_at | timestamp | no | CURRENT_TIMESTAMP |
Foreign keys: first_job_id to coullworks_blog_import_job.job_id (on delete set null).







