Open aaarendt opened 2 weeks ago
Is there an advantage to using text instead of just String without the limit? The wiki seems agnostic on that
Good question. I think the answer within PostgreSQL is there's no difference. But according to the SQLAlchemy docs, you are required to specify a length if you use string within a CREATE TABLE statement. That is because some databases behave differently than others.
Ah, makes sense! Text seems like a great choice then
Suggest we replace all type declarations of "String" to "Text" following this postgres wiki.