-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add PostgreSQL support #255
Comments
@qasimgulzar: These are some of the specifics that have to happen for this repo to support PostgreSQL. Thank you for taking this work on. |
Thank you @ormsbee for sharing this with me. I am going to take care of it. |
@ormsbee could you please add some details of the background of this field, e.g: why this field is there any why is it required to be |
Update.-.1.1.-.min.mov@ormsbee I have managed to run edx-platform with postgresql. I think it's going to bring some joy here. |
There were two primary motivations for 1. To force
|
This repo currently has a set of collation-related helpers that it uses to help normalize model collation behavior between MySQL and SQLite:
They manifest in the migrations files like this:
openedx-learning/openedx_learning/apps/authoring/publishing/migrations/0001_initial.py
Lines 28 to 29 in 14284d2
The
MultiCollationCharField
is also used in one place in edx-platformAnyone looking to add PostgreSQL support would need to look for all instances of
MultiCollationCharField
andMultiCollationTextField
and put the postgres-specific mappings there. That includes the convenience methods likecase_insensitive_char_field
in fields.py, as well as in the individual migration files that have the sqlite/mysql arguments serialized out.The text was updated successfully, but these errors were encountered: