diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-01 14:24:00 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-01 14:24:00 +0200 |
commit | 2571d1a8491169ab3ef78eec5b891f782a533496 (patch) | |
tree | f84814a710c54b6abd6526e196a4861b809aed2d | |
parent | 27c2516f4868863ea27b85f94885641f61add700 (diff) | |
download | rails-2571d1a8491169ab3ef78eec5b891f782a533496.tar.gz rails-2571d1a8491169ab3ef78eec5b891f782a533496.tar.bz2 rails-2571d1a8491169ab3ef78eec5b891f782a533496.zip |
Match domain language
-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 |