Sha256: 78c72819eb6447f68f383613f74018d24f307b9a86ec2880699b24881811c712
Contents?: true
Size: 581 Bytes
Versions: 25
Compression:
Stored size: 581 Bytes
Contents
class CreateEventImportFiles < ActiveRecord::Migration[4.2] def self.up create_table :event_import_files do |t| t.references :parent, index: true t.string :content_type t.integer :size t.references :user, index: true t.text :note t.datetime :imported_at t.string :event_import_file_name t.string :event_import_content_type t.integer :event_import_file_size t.datetime :event_import_updated_at t.string :edit_mode t.timestamps end end def self.down drop_table :event_import_files end end
Version data entries
25 entries across 25 versions & 5 rubygems