-
### Pitch
We have this monkey-patch to handle an edge case where we can't use foreign keys to preserve integrity due to the presence of the "soft delete" column on statuses. The monkey patch approach…
-
I would like to suggest adding a `disabled_at` field that will disable the item. A disabled item will not be available for display by default (as, for example, with the `deleted_at` field in the **Sof…
-
## Background
Current pattern: https://zenstack.dev/blog/soft-delete
But it has some limitations:
- You can't call the regular `delete` method
- `onDelete` referential actions don't work
##…
-
I phrased this as a question since it's mainly a discussion. I spoke to @rmuir on a couple of occasions about making index sorting work for soft deletes. The issue that prevents this is that soft dele…
-
In many cases, people will want to soft-delete records instead of hard-deleting them, i.e. execute:
``` sql
-- This:
UPDATE t SET t.deleted = true WHERE t.id = ?
-- Instead of this:
DELETE t …
-
I phrased this as a question since it's mainly a discussion. I spoke to @rmuir on a couple of occasions about making index sorting work for soft deletes. The issue that prevents this is that soft dele…
-
### Problem
When the string "नमस्कार" is encountered after a soft-wrapped line, the insert mode cursor is always one position ahead of where the characters are actually inserted.
This is the cursor …
-
See https://github.com/lightsats/lightsats/blob/main/app/pages/api/tipGroups/%5Bid%5D.ts#L84
-
I can't add my common actions wit soft deletes like:
`$grid->edit(route('admin.articles.action'), 'Редактировать ', 'show|modify|delete|delete_forever');`
after adding "delete_forever" i get not…
-
I've got the following three models:
**users**
```
$this->table = 'users';
$this->primary_key = 'id';
$this->soft_deletes = true;
```
**groups_users**
```
$this->table = 'grou…