Documentation

Database & Migrations

Migration distribution (~77 total), key tables by package, and seeders

Last updated: Feb 09, 2026

Database & Migrations

Migration Distribution

SourceCountLocation
App-level5database/migrations/
Package-level~72packages/Cartxis/*/Database/Migrations/
Total~77

App-level migrations handle the User model and framework tables (cache, jobs). All domain tables are defined in their respective package migrations.

Key Tables by Package

PackageMain Tables
Corechannels, currencies, email_configurations, email_templates, extensions, locales, menu_items, payment_methods, permissions, roles, settings, shipping_methods, shipping_rates, tax_classes, tax_rates, tax_rules, tax_zones, themes, theme_settings
Productproducts, categories, attributes, attribute_options, brands, product_images, product_reviews, product_attribute_values, inventory_adjustments
Cartcarts, cart_items
Shopaddresses, orders, order_items
Salesinvoices, credit_memos, credit_memo_items, shipments, shipment_items, transactions, order_histories
Customercustomers, customer_addresses, customer_groups, customer_notes, wishlists
CMSpages, blocks, media_files, media_folders, media_usages
Marketingcoupons, coupon_usages, promotions
Systemmaintenance_logs
Reports(uses views/queries on existing tables)

Seeders

LocationSeeders
database/seeders/DatabaseSeeder, MobileHeroBannersSeeder, TestUserSeeder, TransactionSeeder
Package seedersEach package contributes seeders via packages/Cartxis/*/Database/Seeders/