generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(database): rename GenFlowContext to GenSqlContext #80
This commit renames the `GenFlowContext` class to `GenSqlContext` in order to provide a more accurate and descriptive name for the class. The class represents the context for generating SQL scripts and contains properties such as requirement, database version, schema name, table names, and table information. The renaming improves code readability and maintainability.
- Loading branch information
Showing
5 changed files
with
17 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 0 additions & 25 deletions
25
exts/database/src/main/kotlin/cc/unitmesh/database/actions/ModularDesignAction.kt
This file was deleted.
Oops, something went wrong.
7 changes: 5 additions & 2 deletions
7
.../unitmesh/database/flow/GenFlowContext.kt → ...c/unitmesh/database/flow/GenSqlContext.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
package cc.unitmesh.database.flow | ||
|
||
data class GenFlowContext( | ||
data class GenSqlContext( | ||
val requirement: String, | ||
val databaseVersion: String, | ||
val schemaName: String, | ||
val tableNames: List<String>, | ||
// for step 2 | ||
/** | ||
* Step 2. | ||
* A list of table names to retrieve the columns from. | ||
*/ | ||
var tableInfos: List<String> = emptyList(), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters