diff options
| author | Tradam <[email protected]> | 2024-05-29 19:26:06 -0400 |
|---|---|---|
| committer | Tradam <[email protected]> | 2024-05-29 19:26:06 -0400 |
| commit | 22c1d8d71de2bd52513f684196fa66a53e7362aa (patch) | |
| tree | 783537b87d8e8523b319a4fc5ea441ca55a0eb8c /app/models/game.rb | |
| parent | fd4edcfac9041cadfc4c88257555c02736bc4ba4 (diff) | |
| download | gameHolster-22c1d8d71de2bd52513f684196fa66a53e7362aa.tar.gz gameHolster-22c1d8d71de2bd52513f684196fa66a53e7362aa.zip | |
switch over to serving games through zip and make unity games work
Diffstat (limited to 'app/models/game.rb')
| -rw-r--r-- | app/models/game.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/game.rb b/app/models/game.rb index 4bba6f7..b4b98b1 100644 --- a/app/models/game.rb +++ b/app/models/game.rb @@ -1,10 +1,12 @@ class Game < ApplicationRecord + enum status: { draft: 0, published: 1 } #enum status: { # draft: 0, # published: 1 #} belongs_to :user has_many_attached :game_files + has_one_attached :zip has_one_attached :card_img has_one_attached :char_img has_one_attached :title_img |
