Class: MassiveImport::Import
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- MassiveImport::Import
- Defined in:
- lib/massive-import.rb
Overview
CREATE TABLE massive_import_imports (
id bigint unsigned NOT NULL AUTO_INCREMENT,
attempt tinyint NOT NULL DEFAULT 1,
status varchar(50) DEFAULT 'PENDING',
total_records bigint unsigned NOT NULL DEFAULT 0,
batch_records bigint unsigned NOT NULL DEFAULT 0,
max_batch_concurrency smallint unsigned NOT NULL DEFAULT 5,
current_batch_concurrency smallint unsigned NOT NULL DEFAULT 0,
max_attempts tinyint NOT NULL DEFAULT 3,
batch_size smallint NOT NULL DEFAULT 50,
end_id bigint unsigned NOT NULL DEFAULT 0,
processor_class text DEFAULT NULL,
planner_locked_until bigint unsigned DEFAULT NULL,
planner_token text DEFAULT NULL,
PRIMARY KEY (id)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
Class Method Summary collapse
Class Method Details
.table_name_prefix ⇒ Object
62 63 64 |
# File 'lib/massive-import.rb', line 62 def self.table_name_prefix 'massive_import_' end |