Sha256: fa90c1fdda576d8b589aca2b4eb2f742f93ebcdb302b7faab9abb522b036ed45

Contents?: true

Size: 243 Bytes

Versions: 5

Compression:

Stored size: 243 Bytes

Contents

class Create<%= file_name.classify.pluralize %> < ActiveRecord::Migration[5.0]
  def change
    create_file_blobs_table :<%= file_name.tableize %>, blob_limit: 1.megabyte do |t|
      # Build any custom table structure here.
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
file_blobs_rails-0.2.3 lib/file_blobs_rails/generators/templates/001_create_file_blobs.rb.erb
file_blobs_rails-0.2.2 lib/file_blobs_rails/generators/templates/001_create_file_blobs.rb.erb
file_blobs_rails-0.2.1 lib/file_blobs_rails/generators/templates/001_create_file_blobs.rb.erb
file_blobs_rails-0.2.0 lib/file_blobs_rails/generators/templates/001_create_file_blobs.rb.erb
file_blobs_rails-0.1.0 lib/file_blobs_rails/generators/templates/001_create_file_blobs.rb.erb