From 9de6c6c91c715b2c7b4a566b5d350e25936bdc78 Mon Sep 17 00:00:00 2001 From: George Claghorn Date: Thu, 24 Aug 2017 09:37:04 -0400 Subject: [PATCH] Widen blob size column --- .../db/migrate/20170806125915_create_active_storage_tables.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activestorage/db/migrate/20170806125915_create_active_storage_tables.rb b/activestorage/db/migrate/20170806125915_create_active_storage_tables.rb index 7a869874a4..9e31e3966a 100644 --- a/activestorage/db/migrate/20170806125915_create_active_storage_tables.rb +++ b/activestorage/db/migrate/20170806125915_create_active_storage_tables.rb @@ -5,7 +5,7 @@ class CreateActiveStorageTables < ActiveRecord::Migration[5.2] t.string :filename, null: false t.string :content_type t.text :metadata - t.integer :byte_size, null: false + t.bigint :byte_size, null: false t.string :checksum, null: false t.datetime :created_at, null: false