MikeSofaer-saxual-replication 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/saxual-replication.rb +1 -1
- metadata +1 -1
data/lib/saxual-replication.rb
CHANGED
@@ -46,7 +46,7 @@ module SAXualReplication
|
|
46
46
|
klass.property(:id, DataMapper::Types::Serial)
|
47
47
|
klass.property(:created_at, DateTime, :nullable => false)
|
48
48
|
klass.property(:updated_at, DateTime, :nullable => false)
|
49
|
-
columns_with_types { |n, t| klass.property(n, t) }
|
49
|
+
columns_with_types { |n, t| klass.property(n, t, :field => n.to_s) }
|
50
50
|
klass
|
51
51
|
end
|
52
52
|
|