package
3.4.0+incompatible
Repository: https://github.com/googlecloudplatform/spanner-migration-tool.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
ApplyRule allows to add rules that changes the schema currently it supports two types of operations viz.
ConvertSchemaDump converts schema from dump file to Spanner schema for mysqldump and pg_dump driver.
ConvertSchemaSQL converts source database to Spanner when using with postgres and mysql driver.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetConversionRate returns table wise color coded conversion rate.
GetDDL returns the Spanner DDL for each table in alphabetical order.
generates a downloadable DDL(spanner) and send it as a JSON response.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetTableWithErrors checks the errors in the spanner schema and returns a list of tables with errors.
GetTypeMap returns the source to Spanner typemap only for the source types used in current conversion.
No description provided by the author
renameIndexes checks the new names for spanner name validity, ensures the new names are already not used by existing tables secondary indexes or foreign key constraints.
No description provided by the author
No description provided by the author
No description provided by the author
setParentTable checks whether specified table can be interleaved, and updates the schema to convert foreign key to interleaved table if 'update' parameter is set to true.
No description provided by the author
renameForeignKeys checks the new names for spanner name validity, ensures the new names are already not used by existing tables secondary indexes or foreign key constraints.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author