EUNO.NEWS EUNO.NEWS
  • All (20543) +144
  • AI (3117) +9
  • DevOps (914) +5
  • Software (10652) +105
  • IT (5812) +25
  • Education (48)
  • Notice
  • All (20543) +144
    • AI (3117) +9
    • DevOps (914) +5
    • Software (10652) +105
    • IT (5812) +25
    • Education (48)
  • Notice
  • All (20543) +144
  • AI (3117) +9
  • DevOps (914) +5
  • Software (10652) +105
  • IT (5812) +25
  • Education (48)
  • Notice
Sources Tags Search
한국어 English 中文
  • 0个月前 · software

    UUID 在 Rails + SQLite 中不应该这么难(于是我写了一个 gem)

    TL;DR – 在 Rails + SQLite 应用中使用 UUID / ULID,ruby Gemfile 中 gem 'sqlite_crypto',ruby 迁移 create_table :users, id: :uuid do |t| t.string :email t.timestamp ...

    #rails #sqlite #uuid #ulid #ruby #gem #database-migrations #sqlite_crypto
  • 1个月前 · software

    零停机迁移的 Expand and Contract 模式

    expand and contract pattern 使在 rolling deployments 期间实现 zero‑downtime migrations。传统的迁移假设所有应用实例都已更新……

    #zero-downtime #database-migrations #expand-contract-pattern #rolling-deployment #schema-change #backward-compatible
  • 1个月前 · software

    在 Laravel Eloquent 中使用自定义时间戳列

    如果需要自定义 created_at 和 updated_at 的列名,可以在数据库层面进行设置。/ 运行迁移。/ public function up: void {...}

    #Laravel #Eloquent #PHP #custom timestamps #database migrations #created_at #updated_at
  • 1个月前 · software

    你的 Diesel 迁移可能是定时炸弹

    Postgres 锁问题 Handshake https://joinhandshake.com/blog/our-team/postgresql-and-lock-queue/ 在他们的… 部署了看似例行的迁移。

    #postgresql #database-migrations #foreign-key #locking #downtime #schema-change #access-exclusive-lock
  • 1个月前 · software

    💡 两个不太为人知的 Laravel 技巧:numerify 与 invisible

    在 Eloquent 工厂中使用 numerify 方法。Faker 的 numerify 方法可以让你用随机数字替换字符。php public function definition: array { return 'p...

    #Laravel #Eloquent #Faker #numerify #invisible #PHP #database migrations #hidden columns
  • 1个月前 · software

    数据库迁移:安全管理 Dev 与生产环境

    这是《Building SaaS Solo – Design, Implementation, and Operation Advent Calendar 2025》第8天。 > 本文中描述的方法是我得出的某种……

    #database-migrations #ORM #Prisma #Drizzle-ORM #TypeORM #devops #migration-management
EUNO.NEWS
RSS GitHub © 2026