Skip to content

Commit

Permalink
Merge pull request #1638 from schemacrawler/issue1589
Browse files Browse the repository at this point in the history
Fixes issue #1589 and issue #1624 by updating SQLite driver
  • Loading branch information
sualeh authored Jul 31, 2024
2 parents c9b1d96 + 0288f76 commit bd47d99
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 4 deletions.
2 changes: 1 addition & 1 deletion schemacrawler-jdbc-drivers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.46.0.0</version>
<version>3.46.0.1</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
Expand Down
2 changes: 1 addition & 1 deletion schemacrawler-sqlite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.46.0.0</version>
<version>3.46.0.1</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@
import static schemacrawler.test.utility.FileHasContent.classpathResource;
import static schemacrawler.test.utility.FileHasContent.hasSameContentAs;
import static schemacrawler.test.utility.FileHasContent.outputOf;

import org.junit.jupiter.api.Test;

import schemacrawler.schemacrawler.SchemaCrawlerOptions;
import schemacrawler.test.utility.BaseSqliteTest;
import schemacrawler.test.utility.DatabaseTestUtility;
Expand Down Expand Up @@ -67,6 +65,11 @@ public void renameTable(final TestContext testContext) throws Exception {
run(testContext.testMethodFullName(), "/rename_table.sql", "details");
}

@Test
public void generatedColumn(final TestContext testContext) throws Exception {
run(testContext.testMethodFullName(), "/generated_column.sql", "schema");
}

private void run(
final String currentMethodFullName, final String databaseSqlResource, final String command)
throws Exception {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@


System Information
========================================================================

generated by SchemaCrawler 16.21.4
generated on 2024-07-31 00:22:32



Tables
========================================================================



FOO [table]
------------------------------------------------------------------------
ID INTEGER
BAR INT NOT NULL
generated

Primary Key

[primary key]
ID

0 comments on commit bd47d99

Please sign in to comment.