Initial commit
This commit is contained in:
11
app/relations/cards.rb
Normal file
11
app/relations/cards.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
module ClashDeckGenerator
|
||||
module Relations
|
||||
class Cards < DB::Relation
|
||||
schema :cards, infer: true
|
||||
|
||||
def meta
|
||||
where(is_meta: 1)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user