diff options
| author | winter | 2024-12-17 20:07:20 +0000 |
|---|---|---|
| committer | winter | 2024-12-17 20:08:56 +0000 |
| commit | 12d3fe4509dda610e6b7adb120dc0530081c6768 (patch) | |
| tree | 6ce9763f0722576451a097ab19ab59213a1e2827 /migrations/20241217_200610_add_actor_avatar.php | |
| parent | 7cb4ef6c6b82bbca3300154ae89a7bb05c1d91cd (diff) | |
fix database/model discrepancies
add avatar column for actor table, remove (un)subscribe fields from
ActorEndpoints model
Diffstat (limited to 'migrations/20241217_200610_add_actor_avatar.php')
| -rw-r--r-- | migrations/20241217_200610_add_actor_avatar.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/migrations/20241217_200610_add_actor_avatar.php b/migrations/20241217_200610_add_actor_avatar.php new file mode 100644 index 0000000..09af758 --- /dev/null +++ b/migrations/20241217_200610_add_actor_avatar.php @@ -0,0 +1,8 @@ +<?php + +use \Digitigrade\Db\Migrator; + +Migrator::getInstance()->register(20241217_200610, function (PDO $db) { + // i really have no idea why this wasn't the case already? + $db->exec('ALTER TABLE actor ADD COLUMN avatar text'); +}); |
