summaryrefslogtreecommitdiffhomepage
path: root/app/models/game.rb
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2024-06-07 00:19:18 -0400
committerrealtradam <[email protected]>2024-06-07 00:19:18 -0400
commitde44507f2a75e36c4cea05f250f0f3d24e1dd123 (patch)
tree10bc5973c62203693199a59ccb6327cb77107559 /app/models/game.rb
parent22c1d8d71de2bd52513f684196fa66a53e7362aa (diff)
downloadgameHolster-de44507f2a75e36c4cea05f250f0f3d24e1dd123.tar.gz
gameHolster-de44507f2a75e36c4cea05f250f0f3d24e1dd123.zip
add tags
Diffstat (limited to 'app/models/game.rb')
-rw-r--r--app/models/game.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/game.rb b/app/models/game.rb
index b4b98b1..1eb75ff 100644
--- a/app/models/game.rb
+++ b/app/models/game.rb
@@ -10,4 +10,5 @@ class Game < ApplicationRecord
has_one_attached :card_img
has_one_attached :char_img
has_one_attached :title_img
+ has_and_belongs_to_many :tags
end