diff --git a/db/development_structure.sql b/db/development_structure.sql index 8309e1645..de6e1ab85 100644 --- a/db/development_structure.sql +++ b/db/development_structure.sql @@ -2357,7 +2357,8 @@ CREATE TABLE tag_subscriptions ( post_ids text NOT NULL, is_public boolean DEFAULT true NOT NULL, created_at timestamp without time zone, - updated_at timestamp without time zone + updated_at timestamp without time zone, + last_accessed_at timestamp without time zone ); diff --git a/test/unit/upload_test.rb b/test/unit/upload_test.rb index 115de4a4b..bd0d059da 100644 --- a/test/unit/upload_test.rb +++ b/test/unit/upload_test.rb @@ -121,7 +121,7 @@ class UploadTest < ActiveSupport::TestCase @upload.calculate_dimensions(@upload.file_path) assert_nothing_raised {@upload.generate_resizes(@upload.file_path)} assert(File.exists?(@upload.resized_file_path_for(Danbooru.config.small_image_width))) - assert_equal(4817, File.size(@upload.resized_file_path_for(Danbooru.config.small_image_width))) + assert_equal(5613, File.size(@upload.resized_file_path_for(Danbooru.config.small_image_width))) assert(File.exists?(@upload.resized_file_path_for(Danbooru.config.medium_image_width))) assert_equal(42990, File.size(@upload.resized_file_path_for(Danbooru.config.medium_image_width))) assert(File.exists?(@upload.resized_file_path_for(Danbooru.config.large_image_width)))