lib/generators/uploader/install/templates/20130905144515_create_assets.rb in rails-uploader-0.5.8 vs lib/generators/uploader/install/templates/20130905144515_create_assets.rb in rails-uploader-0.5.9
- old
+ new
@@ -1,7 +1,7 @@
# frozen_string_literal: true
-class CreateAssets < ActiveRecord::Migration
+class CreateAssets < ActiveRecord::Migration[6.1]
def self.up
create_table :assets do |t|
t.string :data_file_name, null: false
t.string :data_content_type
t.integer :data_file_size