How do I create a column in a database which is not noticed by Og?
I want to add an additional column to a table, and want to avoid Og messing with it or even noticing it, is that possible?
(2 attempts)
bsoto answered:
If you don't want Og to deal with it at all, don't create a property matching it.
Create the column through your db software or define it once via property then remove the definition.
Just make sure :evolveschemacautious is set to true so Og doesn't drop columns it thinks are not needed.
aidan answered:
My biggest concern here is "why?" I'd suggest storing it in a separate table altogether and then joining. If the data belongs in the model's table, then it should really belong in the model. Otherwise, it doesn't belong in the table.
I read this and think there is probably flawed thinking that wants this. (Sorry if that comes across as a bit harsh!)