migrate e621 favs to own table
This commit is contained in:
4
sorbet/rbi/dsl/domain/post/e621_post.rbi
generated
4
sorbet/rbi/dsl/domain/post/e621_post.rbi
generated
@@ -719,10 +719,10 @@ class Domain::Post::E621Post
|
||||
|
||||
# This method is created by ActiveRecord on the `Domain::Post::E621Post` class because it declared `has_many :user_post_favs`.
|
||||
# 🔗 [Rails guide for `has_many` association](https://guides.rubyonrails.org/association_basics.html#the-has-many-association)
|
||||
sig { returns(::Domain::UserPostFav::PrivateCollectionProxy) }
|
||||
sig { returns(::Domain::UserPostFav::E621UserPostFav::PrivateCollectionProxy) }
|
||||
def user_post_favs; end
|
||||
|
||||
sig { params(value: T::Enumerable[::Domain::UserPostFav]).void }
|
||||
sig { params(value: T::Enumerable[::Domain::UserPostFav::E621UserPostFav]).void }
|
||||
def user_post_favs=(value); end
|
||||
end
|
||||
|
||||
|
||||
6
sorbet/rbi/dsl/domain/user/e621_user.rbi
generated
6
sorbet/rbi/dsl/domain/user/e621_user.rbi
generated
@@ -672,12 +672,12 @@ class Domain::User::E621User
|
||||
sig { params(ids: T::Array[T.untyped]).returns(T::Array[T.untyped]) }
|
||||
def user_post_fav_ids=(ids); end
|
||||
|
||||
# This method is created by ActiveRecord on the `Domain::User` class because it declared `has_many :user_post_favs`.
|
||||
# This method is created by ActiveRecord on the `Domain::User::E621User` class because it declared `has_many :user_post_favs`.
|
||||
# 🔗 [Rails guide for `has_many` association](https://guides.rubyonrails.org/association_basics.html#the-has-many-association)
|
||||
sig { returns(::Domain::UserPostFav::PrivateCollectionProxy) }
|
||||
sig { returns(::Domain::UserPostFav::E621UserPostFav::PrivateCollectionProxy) }
|
||||
def user_post_favs; end
|
||||
|
||||
sig { params(value: T::Enumerable[::Domain::UserPostFav]).void }
|
||||
sig { params(value: T::Enumerable[::Domain::UserPostFav::E621UserPostFav]).void }
|
||||
def user_post_favs=(value); end
|
||||
|
||||
sig { returns(T::Array[T.untyped]) }
|
||||
|
||||
2
sorbet/rbi/dsl/domain/user/inkbunny_user.rbi
generated
2
sorbet/rbi/dsl/domain/user/inkbunny_user.rbi
generated
@@ -699,7 +699,7 @@ class Domain::User::InkbunnyUser
|
||||
sig { params(ids: T::Array[T.untyped]).returns(T::Array[T.untyped]) }
|
||||
def user_post_fav_ids=(ids); end
|
||||
|
||||
# This method is created by ActiveRecord on the `Domain::User` class because it declared `has_many :user_post_favs`.
|
||||
# This method is created by ActiveRecord on the `Domain::User::InkbunnyUser` class because it declared `has_many :user_post_favs`.
|
||||
# 🔗 [Rails guide for `has_many` association](https://guides.rubyonrails.org/association_basics.html#the-has-many-association)
|
||||
sig { returns(::Domain::UserPostFav::PrivateCollectionProxy) }
|
||||
def user_post_favs; end
|
||||
|
||||
1436
sorbet/rbi/dsl/domain/user_post_fav/e621_user_post_fav.rbi
generated
Normal file
1436
sorbet/rbi/dsl/domain/user_post_fav/e621_user_post_fav.rbi
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -665,12 +665,6 @@ class Domain::UserPostFav::FaUserPostFav
|
||||
sig { params(args: T.untyped, blk: T.untyped).returns(PrivateAssociationRelation) }
|
||||
def with_explicit_time_and_id(*args, &blk); end
|
||||
|
||||
sig { params(args: T.untyped, blk: T.untyped).returns(PrivateAssociationRelation) }
|
||||
def with_fa_fav_id(*args, &blk); end
|
||||
|
||||
sig { params(args: T.untyped, blk: T.untyped).returns(PrivateAssociationRelation) }
|
||||
def with_inferred_time_and_id(*args, &blk); end
|
||||
|
||||
sig { params(args: T.untyped, blk: T.untyped).returns(PrivateAssociationRelation) }
|
||||
def with_recursive(*args, &blk); end
|
||||
|
||||
@@ -1288,12 +1282,6 @@ class Domain::UserPostFav::FaUserPostFav
|
||||
sig { params(args: T.untyped, blk: T.untyped).returns(PrivateRelation) }
|
||||
def with_explicit_time_and_id(*args, &blk); end
|
||||
|
||||
sig { params(args: T.untyped, blk: T.untyped).returns(PrivateRelation) }
|
||||
def with_fa_fav_id(*args, &blk); end
|
||||
|
||||
sig { params(args: T.untyped, blk: T.untyped).returns(PrivateRelation) }
|
||||
def with_inferred_time_and_id(*args, &blk); end
|
||||
|
||||
sig { params(args: T.untyped, blk: T.untyped).returns(PrivateRelation) }
|
||||
def with_recursive(*args, &blk); end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user