aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
diff options
context:
space:
mode:
authorGeorge Claghorn <george@basecamp.com>2017-08-24 09:37:04 -0400
committerGeorge Claghorn <george@basecamp.com>2017-08-24 09:37:04 -0400
commit9de6c6c91c715b2c7b4a566b5d350e25936bdc78 (patch)
tree1ab6dc84460ac4b2d94bfdb3b6550326aca391ef /activestorage
parent51b017652a4725f51e6ee01737f52ff63d5b8424 (diff)
downloadrails-9de6c6c91c715b2c7b4a566b5d350e25936bdc78.tar.gz
rails-9de6c6c91c715b2c7b4a566b5d350e25936bdc78.tar.bz2
rails-9de6c6c91c715b2c7b4a566b5d350e25936bdc78.zip
Widen blob size column
Diffstat (limited to 'activestorage')
-rw-r--r--activestorage/db/migrate/20170806125915_create_active_storage_tables.rb2
1 files changed, 1 insertions, 1 deletions
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