Sha256: b4b52a4f4d5d79897534e164c894acc644773921bcff15f1a5d0214c9def0f74
Contents?: true
Size: 765 Bytes
Versions: 8
Compression:
Stored size: 765 Bytes
Contents
class CreateAssets < ActiveRecord::Migration::Current include ActiveRecord::Concerns::Base ######################################### ######################################### # => Up def up create_table table do |t| t.references :assetable, polymorphic: true t.string :data_file_name, null: false t.integer :data_file_size t.string :data_content_type # => needs to be different than content_type otherwise infinite recursion t.string :data_fingerprint t.integer :width t.integer :height t.timestamp :data_updated_at t.timestamps end end ######################################### ######################################### end
Version data entries
8 entries across 8 versions & 1 rubygems