lib/schematic/generator/column.rb in schematic-0.1.3 vs lib/schematic/generator/column.rb in schematic-0.1.4
- old
+ new
@@ -17,9 +17,10 @@
complex_type.xs :simpleContent do |simple_content|
simple_content.xs :restriction, "base" => map_type(@column) do |restriction|
Restrictions::Length.new(@klass, @column).generate(restriction)
Restrictions::Enumeration.new(@klass, @column).generate(restriction)
Restrictions::Pattern.new(@klass, @column).generate(restriction)
+ Restrictions::Custom.new(@klass, @column).generate(restriction)
end
end
end
end
end