exposed-migration-jdbc/src/main/kotlin/org/jetbrains/exposed/v1/migration/jdbc/MigrationUtils.kt [35:47]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fun generateMigrationScript( vararg tables: Table, scriptDirectory: String, scriptName: String, withLogs: Boolean = true ): File { require(tables.isNotEmpty()) { "Tables argument must not be empty" } val allStatements = statementsRequiredForDatabaseMigration(*tables, withLogs = withLogs) @OptIn(InternalApi::class) return allStatements.writeMigrationScriptTo("$scriptDirectory/$scriptName.sql") } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - exposed-migration-r2dbc/src/main/kotlin/org/jetbrains/exposed/v1/migration/r2dbc/MigrationUtils.kt [39:51]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - suspend fun generateMigrationScript( vararg tables: Table, scriptDirectory: String, scriptName: String, withLogs: Boolean = true ): File { require(tables.isNotEmpty()) { "Tables argument must not be empty" } val allStatements = statementsRequiredForDatabaseMigration(*tables, withLogs = withLogs) @OptIn(InternalApi::class) return allStatements.writeMigrationScriptTo("$scriptDirectory/$scriptName.sql") } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -