Add ability to filter followed accounts' posts by language (#19095)
This commit is contained in:
parent
882e54c786
commit
50948b46aa
30 changed files with 298 additions and 39 deletions
5
db/migrate/20220829192633_add_languages_to_follows.rb
Normal file
5
db/migrate/20220829192633_add_languages_to_follows.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddLanguagesToFollows < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :follows, :languages, :string, array: true
|
||||
end
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
class AddLanguagesToFollowRequests < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :follow_requests, :languages, :string, array: true
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue