4 ms·
in this case "renaming a field" it would be something like `Collection.rename('property', 'property2')` my syntax may be slightly off since i mostly use mongo
by hereandthere2 11y ago
in this case "renaming a field" it would be something like
`Collection.rename('property', 'property2')`
my syntax may be slightly off since i mostly use mongo thru a ruby orm but the basic idea is the same.
we handle these things by having a tasks we run each deployment (named after the deployment version) with the necessary db changes.