Skip to content

Commit

Permalink
fix: column "use" defaults to "optional"
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldtse committed Jul 21, 2024
1 parent f745fd5 commit 1996307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/genericode/column.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Column < Shale::Mapper
include Json::ShortNameMixin

attribute :id, Shale::Type::String
attribute :use, Shale::Type::String
attribute :use, Shale::Type::String, default: -> { "optional" }
attribute :annotation, Annotation
attribute :short_name, ShortName
attribute :long_name, LongName, collection: true
Expand Down

0 comments on commit 1996307

Please sign in to comment.