Добавил генерацию колоды и улучшил бд
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module ClashDeckGenerator2
|
||||
module Relations
|
||||
class Cards < DB::Relation
|
||||
schema :cards, infer: true
|
||||
|
||||
def meta
|
||||
def meta_cards_scope
|
||||
where(is_meta: 1)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user