Skip to content

Commit

Permalink
fix(asset_type): images is nilable in the database (#281)
Browse files Browse the repository at this point in the history
stakach authored Jan 21, 2025
1 parent 44952c8 commit 17f660c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/placeos-models/asset_type.cr
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ module PlaceOS::Model
attribute brand : String
attribute description : String?
attribute model_number : String?
attribute images : Array(String) = [] of String
attribute images : Array(String)? = [] of String

belongs_to AssetCategory, foreign_key: "category_id", association_name: "category"

0 comments on commit 17f660c

Please sign in to comment.