Constructor

GomSqlMigrationnew

Declaration

GomMigration*
gom_sql_migration_new (
  guint version,
  GBytes* script
)

Description

Creates a new GomSqlMigration that will execute the SQL script provided.

Parameters

version

Type: guint

No description available.

script

Type: GBytes

A GBytes containing the SQL to execute.

The data is owned by the caller of the function.

Return value

Type: GomMigration

No description available.

The caller of the function takes ownership of the data, and is responsible for freeing it.