Skip to content

Commit

Permalink
Satisfy Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
benlangfeld authored Jan 1, 2024
1 parent e04f5da commit 05db8c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lhm/column_with_sql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def column
#
# @return [String, NilClass]
def default_value
match = if definition =~ /timestamp|datetime/i
match = if definition.match?(/timestamp|datetime/i)
/default '?(.+[^'])'?/i.match(definition)
else
/default '?(\w+)'?/i.match(definition)
Expand Down

0 comments on commit 05db8c8

Please sign in to comment.