Skip to content

Conversation

@morehawes
Copy link

@morehawes morehawes commented Dec 5, 2025

Adds support for ULIDs (Universally Unique Lexicographically Sortable Identifiers) by allowing CHAR(26) as primary key.

This can currently be achieved using VARCHAR(26), but this adds CHAR support.

Screenshot 2025-12-04 at 5 42 52 PM

Before change:

Schema::create('users', function (Blueprint $table) {
  // ...
  $table->increments('id');
  // ...
}

After change:

Schema::create('users', function (Blueprint $table) {
  // ...
  $table->char('id', 26)->primary();
  // ...
}

Related to #54.

Copilot AI and others added 7 commits December 4, 2025 17:18
Co-authored-by: morehawes <1234034+morehawes@users.noreply.github.com>
Co-authored-by: morehawes <1234034+morehawes@users.noreply.github.com>
Co-authored-by: morehawes <1234034+morehawes@users.noreply.github.com>
…d-squash

[WIP] Revert __pycache__ removal and focus on issue fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant