summaryrefslogtreecommitdiffhomepage
path: root/app/models/game.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/game.rb')
-rw-r--r--app/models/game.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/models/game.rb b/app/models/game.rb
new file mode 100644
index 0000000..fbdc561
--- /dev/null
+++ b/app/models/game.rb
@@ -0,0 +1,8 @@
+class Game < ApplicationRecord
+ #enum status: {
+ # draft: 0,
+ # published: 1
+ #}
+ #belongs_to :user
+ has_one_attached :game_file
+end