From 49ca4e7412ff81cd4c3a1a117e376e98914d0c90 Mon Sep 17 00:00:00 2001 From: Tim Cowlishaw Date: Thu, 21 Dec 2023 15:52:33 +0100 Subject: [PATCH] remove deprecated avatar and upload code --- db/migrate/20231221142429_remove_avatars_and_uploads.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 db/migrate/20231221142429_remove_avatars_and_uploads.rb diff --git a/db/migrate/20231221142429_remove_avatars_and_uploads.rb b/db/migrate/20231221142429_remove_avatars_and_uploads.rb new file mode 100644 index 00000000..3eb4444d --- /dev/null +++ b/db/migrate/20231221142429_remove_avatars_and_uploads.rb @@ -0,0 +1,6 @@ +class RemoveAvatarsAndUploads < ActiveRecord::Migration[6.1] + def change + drop_table :uploads + remove_column :users, :avatar_url + end +end