mirror of
https://github.com/postalserver/postal.git
synced 2026-10-18 18:26:06 +00:00
feat: new background work process
This removes all previous dependencies on RabbitMQ and the need to run separate cron and requeueing processes.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: ip_addresses
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# hostname :string(255)
|
||||
# ipv4 :string(255)
|
||||
# ipv6 :string(255)
|
||||
# priority :integer
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
# ip_pool_id :integer
|
||||
#
|
||||
FactoryBot.define do
|
||||
factory :ip_address do
|
||||
ip_pool
|
||||
ipv4 { "10.0.0.1" }
|
||||
ipv6 { "2001:0db8:85a3:0000:0000:8a2e:0370:7334" }
|
||||
hostname { "ip.example.com" }
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user