Sha256: 9870c38f37cc271e5f9821680a76ea7ae1a2305a8701a6a599d71a581f753c0f
Contents?: true
Size: 776 Bytes
Versions: 6
Compression:
Stored size: 776 Bytes
Contents
class CreateEventImportFiles < ActiveRecord::Migration def self.up create_table :event_import_files do |t| t.integer :parent_id t.string :content_type t.integer :size t.string :file_hash t.integer :user_id t.text :note t.datetime :imported_at t.string :state 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 add_index :event_import_files, :parent_id add_index :event_import_files, :user_id add_index :event_import_files, :file_hash add_index :event_import_files, :state end def self.down drop_table :event_import_files end end
Version data entries
6 entries across 6 versions & 1 rubygems