Regex matcher to extract string out ouf surrounding
Indicates whether this is an auto increment column
Indicates whether a ColumnOption Primary key should be put into the model.
Indicates whether a ColumnOption Primary key should be put into the model. Only valid for single column primary keys.
A (potentially non-portable) database column type for string types, this should not include a length ascription for other types it should
The default value for the column.
The default value for the column. The outer option is used to indicate if a default value is given. The inner Option is used to allow giving None for a nullable column. This method must not return Some(None) for a non-nullable column.
Default values for autoInc column are automatically ignored (as if returning None).
If ignoreInvalidDefaults = true
, Slick catches scala.MatchError and java.lang.NumberFormatException thrown by
this method, logs the message and treats it as no default value for convenience.
The default value for the column as a ColumnOption Default or None if no default.
The default value for the column as a ColumnOption Default or None if no default. The value wrapped by ColumnOption Default needs to be an Option in case of a nullable column but can't be an Option in case of a non-nullable Column.
Default values for autoInc columns are automatically ignored.
If ignoreInvalidDefaults = true
, Slick catches scala.MatchError and java.lang.NumberFormatException thrown by
this method, logs the message and treats it as no default value for convenience.
Column length of string types
Indicates whether this is a nullable column
Scala type this column is mapped to
Indicates wether this should be a varchar in case of a string column.
Indicates wether this should be a varchar in case of a string column. Currently defaults to true. Should be based on the value of dbType in the future.
Column model builder.