UUID’s in Rails + SQLite shouldn’t be this hard (so I built a gem)
TL;DR – UUIDs / ULIDs in a Rails + SQLite app ruby Gemfile gem 'sqlite_crypto' ruby migration create_table :users, id: :uuid do |t| t.string :email t.timestamp...
TL;DR – UUIDs / ULIDs in a Rails + SQLite app ruby Gemfile gem 'sqlite_crypto' ruby migration create_table :users, id: :uuid do |t| t.string :email t.timestamp...
The expand and contract pattern enables zero‑downtime migrations during rolling deployments. Traditional migrations assume all application instances are updated...
If you need to customize the column names for created_at and updated_at, you can do so at the database level. / Run the migrations. / public function up: void {...
The Postgres Lock Problem Handshakehttps://joinhandshake.com/blog/our-team/postgresql-and-lock-queue/ deployed what looked like a routine migration during thei...
numerify in Eloquent Factories The numerify method from Faker lets you replace characters with random digits. php public function definition: array { return 'p...
This is Day 8 of Building SaaS Solo – Design, Implementation, and Operation Advent Calendar 2025. > The approach described in this article is something I arrive...
!Cover image for Devpill 4 - Database migrations with Migratehttps://media2.dev.to/dynamic/image/width=1000,height=420,fit=cover,gravity=auto,format=auto/https%...