From ba61c6435b668375a411716f3a35447aa38b03a4 Mon Sep 17 00:00:00 2001 From: winter Date: Sat, 18 Jan 2025 00:22:36 +0000 Subject: implement object storage --- .../20250117_224217_create_storage_object.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 migrations/20250117_224217_create_storage_object.php (limited to 'migrations') diff --git a/migrations/20250117_224217_create_storage_object.php b/migrations/20250117_224217_create_storage_object.php new file mode 100644 index 0000000..a1a5cc0 --- /dev/null +++ b/migrations/20250117_224217_create_storage_object.php @@ -0,0 +1,21 @@ +register(20250117_224217, function (PDO $db) { + // storage objects for uploaded files and whatever else needs storing + // backend agnostic! that's cool i think + // note: i'm using random strings for the primary key here because i don't + // want them to be easily guessable. i think this is an okay tradeoff + $db->exec(<<