lib/rom.rb in rom-1.0.0 vs lib/rom.rb in rom-2.0.0
- old
+ new
@@ -32,14 +32,16 @@
require 'rom/create_container'
# register core plugins
require 'rom/plugins/configuration/configuration_dsl'
require 'rom/plugins/relation/registry_reader'
+require 'rom/plugins/command/schema'
module ROM
extend Global
plugins do
register :macros, ROM::ConfigurationPlugins::ConfigurationDSL, type: :configuration
register :registry_reader, ROM::Plugins::Relation::RegistryReader, type: :relation
+ register :schema, ROM::Plugins::Command::Schema, type: :command
end
end