Sha256: d08d5d393a9e4acb210e2b8192719a0261451a00d53733b42cf44061137e7246
Contents?: true
Size: 284 Bytes
Versions: 5
Compression:
Stored size: 284 Bytes
Contents
class Create<%= file_name.classify.pluralize %> < ActiveRecord::Migration[5.0] def change create_table :<%= file_name.tableize %> do |t| t.file_blob :<%= options[:attr_name] %>, null: <%= options[:allow_nil] %>, mime_type_limit: 64, file_name_limit: 256 end end end
Version data entries
5 entries across 5 versions & 1 rubygems