diff options
-rw-r--r-- | lib/active_file/blob.rb | 2 | ||||
-rw-r--r-- | lib/active_file/migration.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/active_file/blob.rb b/lib/active_file/blob.rb index 75e606b68b..5ed2fce5ac 100644 --- a/lib/active_file/blob.rb +++ b/lib/active_file/blob.rb @@ -1,6 +1,6 @@ require "active_file/site" -# Schema: id, key, filename, content_type, metadata, byte_size, digest, created_at +# Schema: id, key, filename, content_type, metadata, byte_size, checksum, created_at class ActiveFile::Blob < ActiveRecord::Base self.table_name = "active_file_blobs" diff --git a/lib/active_file/migration.rb b/lib/active_file/migration.rb index 7a424722e0..a6f398106e 100644 --- a/lib/active_file/migration.rb +++ b/lib/active_file/migration.rb @@ -5,7 +5,7 @@ class ActiveFile::CreateBlobs < ActiveRecord::Migration[5.1] t.string :filename t.string :content_type t.integer :byte_size - t.string :digest + t.string :checksum t.time :created_at t.index [ :token ], unique: true |