Sha256: 6682ae506af3741a9604fef1f7a57c4dd31d800e39ecc08368f429393da086fc
Contents?: true
Size: 535 Bytes
Versions: 38
Compression:
Stored size: 535 Bytes
Contents
class <%= migration_name %> < ActiveRecord::Migration def self.up create_table :papermill_assets do |t| t.string :file_file_name t.string :file_content_type t.integer :file_file_size t.integer :position t.text :description t.string :copyright t.string :title t.integer :assetable_id t.string :assetable_type t.string :assetable_key t.string :type t.timestamps end end def self.down drop_table :papermill_assets end end
Version data entries
38 entries across 38 versions & 2 rubygems