Darshan
Darshan
@stnguyen90, I tried by recreating a topic. The result was still the same. Appwrite: `1.5.4` `JSON` for the get topic api call - ```json { "total":1, "topics":[ { "$id":"general", "$createdAt":"2024-04-02T05:56:26.034+00:00",...
Update: I tried in an incognito tab on Chrome, seems to work fine now. It was probably the cache. Although now there's a different issue, something with the state I...
Reopening this as I can again reproduce this on a `1.5.7`, self-hosted instance.
Updated specs - Topic shows 0 -  Topic has 2 subs -  --- JSON Responses - 1. Topic Call ```json { "$id":"test", "$createdAt":"2024-06-10T08:06:29.493+00:00", "$updatedAt":"2024-06-10T08:06:29.493+00:00", "name":"Test Topic", "emailTotal":0, "smsTotal":0,...
Update - The issue lies in the migration script where no `default` is provided so it resorts to `NULL` which doesn't really perform an increment on the attribute. Source -...
@stnguyen90, can I work on this? I see that the `config/collections.php` includes the default values, just not the migration. A quick fix like below suffices? ```php 'default' => $attribute['default'] ??...