mirror of
https://0xacab.org/sutty/sutty
synced 2025-03-14 21:08:18 +00:00
Merge branch 'rails' of 0xacab.org:sutty/sutty into production.panel.sutty.nl
This commit is contained in:
commit
c756132139
3 changed files with 2 additions and 11 deletions
|
@ -12,7 +12,7 @@ class CreateFediblocks < ActiveRecord::Migration[6.1]
|
|||
t.string :url, null: false
|
||||
t.string :download_url, null: false
|
||||
t.string :format, null: false
|
||||
t.jsonb :instances, default: []
|
||||
t.jsonb :hostnames, default: []
|
||||
end
|
||||
|
||||
YAML.safe_load(File.read('db/seeds/activity_pub/fediblocks.yml')).each do |fediblock|
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# Cambia el nombre de la columna para que podamos obtener todas las
|
||||
# instancias de un fediblock
|
||||
class RenameFediblockInstancesToHostnames < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
rename_column :activity_pub_fediblocks, :instances, :hostnames
|
||||
end
|
||||
end
|
|
@ -6,7 +6,7 @@
|
|||
id: "9046789a-5de8-4b16-beed-796060f8f3cc"
|
||||
- title: "Oliphant Tier 0"
|
||||
url: "https://writer.oliphant.social/oliphant/the-oliphant-social-blocklist"
|
||||
download_url: "https://codeberg.org/oliphant/blocklists/raw/branch/main/blocklists/mastodon/tier0.csv"
|
||||
download_url: "https://codeberg.org/oliphant/blocklists/raw/branch/main/blocklists/mastodon/seirdy-tier0.csv"
|
||||
format: "mastodon"
|
||||
id: "fc1efcb8-7e68-4a76-ae9e-0c447752b12b"
|
||||
- title: "The Bad Space (90%)"
|
||||
|
|
Loading…
Reference in a new issue