about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-21 00:47:28 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:19 -0500
commit38f78fd1a2045a6641d76b12f7145f39de10ae53 (patch)
tree7fa8399c5a8b7a83603f885e5fcb8417d494adc2 /db/migrate
parentf073087da2cdb8c15dfc0f4b9c2a4967e4714be1 (diff)
[Federation, Revise] Add simple retries to ActivityPub::ProcessCollectionItemsService
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20200821051721_add_retries_to_collection_items.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20200821051721_add_retries_to_collection_items.rb b/db/migrate/20200821051721_add_retries_to_collection_items.rb
new file mode 100644
index 000000000..9cee437d9
--- /dev/null
+++ b/db/migrate/20200821051721_add_retries_to_collection_items.rb
@@ -0,0 +1,5 @@
+class AddRetriesToCollectionItems < ActiveRecord::Migration[5.2]
+  def change
+    add_column :collection_items, :retries, :integer, limit: 1, default: 0, null: false
+  end
+end