مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-12-01 05:43:04 +00:00
This removes all previous dependencies on RabbitMQ and the need to run separate cron and requeueing processes.
15 أسطر
265 B
Ruby
15 أسطر
265 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateWorkerRoles < ActiveRecord::Migration[6.1]
|
|
|
|
def change
|
|
create_table :worker_roles do |t|
|
|
t.string :role
|
|
t.string :worker
|
|
t.datetime :acquired_at
|
|
t.index :role, unique: true
|
|
end
|
|
end
|
|
|
|
end
|