Class: Flydata::Mysql::TableDdl
- Inherits:
-
Object
- Object
- Flydata::Mysql::TableDdl
- Defined in:
- lib/flydata/mysql/table_ddl.rb
Constant Summary collapse
- VERSION0 =
0
- VERSION1 =
the version where no .generated_ddl file was generated. Therefore, this version never shows up in anywhere.
1
- VERSION2 =
the version which doesn’t handle server side encoding support.
2
- VERSION3 =
the version with server side encoding support, migrated from the previous versions. Format/functionality-wise, it’s the same as Version 3.
3
- VERSION4 =
the version with server side encoding support, generated by sync:generated_table_ddl command.
4
- VERSION =
the version with server side encoding support, generated by the auto-generated CREATE TABLE event.
VERSION3
Class Method Summary collapse
Class Method Details
.migrate_tables(tables, mysql_opts, sync_fm, position_file, context, &block) ⇒ Object
20 21 22 23 |
# File 'lib/flydata/mysql/table_ddl.rb', line 20 def self.migrate_tables(tables, mysql_opts, sync_fm, position_file, context, &block) migrate_to_v2(tables, mysql_opts, sync_fm, position_file, context, &block) end |