Method: BigqueryMigration::Schema.validate_type!
- Defined in:
- lib/bigquery_migration/schema.rb
.validate_type!(type) ⇒ Object
85 86 87 88 89 |
# File 'lib/bigquery_migration/schema.rb', line 85 def validate_type!(type) unless ALLOWED_FIELD_TYPES.include?(type.upcase) raise ConfigError, "Column type `#{type}` is not allowed type" end end |