SchemaHeroGetting StartedGetting StartedGuidesGuidesDatabasesDatabasesCLI ReferenceCLI ReferenceCommunityCommunityChangelogChangelog
GitHubGitHub (opens in a new tab) (opens in a new tab)
  • Supported Databases
    • Connecting
    • Tables
    • Column Types
    • Constraints
    • Versions
    • Connecting
    • Tables
    • Column Types
    • Constraints
    • Attributes
    • Versions
    • Connecting
    • Tables
    • Column Types
    • Versions
    • Connecting
    • Tables
    • Column Types
    • Constraints
    • Hypertables
    • Versions
    • Connecting
    • Tables
    • Column Types
    • Keyspaces
    • Custom Types
    • Table Properties
    • Versions
    • Connecting
    • Tables
    • Column Types
    • Versions
    • Connecting
    • Tables
    • Column Types
    • Versions
Question? Give us feedback → (opens in a new tab)Edit this page on GitHub
Databases
MySQL
Constraints

The goal of SchemaHero is to support all supported MySQL constraints. If there are any missing, open an issue (opens in a new tab) to report it.

Constraint TypeSchemaHero Version
PRIMARY KEYv.0.1.0
FOREIGN KEYv0.2.0
UNIQUEv0.2.0
NOT NULLv0.1.0
CHECK
EXCLUSION
Column TypesAttributes

© 2026 The SchemaHero Authors. All rights reserved.
SchemaHero is a CNCF Sandbox project.