Skip to content

Commit 27178f2

Browse files
committed
fix(asset_type): images is nilable in the database
1 parent cc603f7 commit 27178f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/placeos-models/asset_type.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module PlaceOS::Model
1212
attribute brand : String
1313
attribute description : String?
1414
attribute model_number : String?
15-
attribute images : Array(String) = [] of String
15+
attribute images : Array(String)? = [] of String
1616

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

0 commit comments

Comments
 (0)