M1ha Shvn

Results 34 comments of M1ha Shvn

And another one: http://josephkahn.io/django-sharding/docs/installation/Settings.html Additional Settings `ReadOnlyFromPrimaryDatabases` is really called `PrimaryOnlyRoutingStrategy`

http://josephkahn.io/django-sharding/docs/installation/Settings.html `DJANGO_FRAGMENTS_SHARD_SETTINGS `is `DJANGO_SHARDING_SETTINGS` parameter in django.conf See: https://github.com/JBKahn/django-sharding/blob/master/django_sharding/apps.py#L15

http://josephkahn.io/django-sharding/docs/usage/DataMigrations.html ```Python def do_the_stuff(apps, schema_editor): User = apps.get_model("auth", "User") current_database = schema_editor.connection.alias if is_model_class_on_database(model=User, database=database): User.objects.using(database).update(password="*******") ``` Variable is called current_database at first, but used as database

I suppose, it should be `db_settings.get('SHARD_ID')` if replica is ignored, or something based on RountingStartegy, if replica is used.

A year has passed. Any updates on this issue?

It's been 2 months since this issue was created =) I don't even remember where I caught it. But I guess you are right, as tables' id field is shown...

Also found my scripts not working, as it requires cjson. I get `attempt to index a nil value (global 'cjson')` error

Hi Strange, it's been a long time since I've made any changes there, though a year ago this project was alive and accespted my PRs 🤔 Found [this issue](https://github.com/Infinidat/infi.clickhouse_orm/issues/176), it...

Looks like some PRs and Issues have been merged 🤔 But they still don't respond the ticket. I'll watch it over a little bit longer...

Hi. As mentioned [here](https://github.com/carrotquest/django-clickhouse/blob/master/docs/migrations.md#migrations), django-clickhouse inherits its migration from [infi.clickhouse-orm](https://github.com/Infinidat/infi.clickhouse_orm). And it has [RunPython](https://github.com/Infinidat/infi.clickhouse_orm/blob/develop/docs/schema_migrations.md#runpython) and [RunSQL](https://github.com/Infinidat/infi.clickhouse_orm/blob/develop/docs/schema_migrations.md#runsql) migrations. Do they suit your needs?