-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eb44be4
commit d394b8a
Showing
13 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
pkg/schema/pg/testdata/TestPostgres_DropIndex/if_exists.snap.txt
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
DROP INDEX IF EXISTS tst_pg_drop_index_2.idx_articles_name_custom | ||
DROP INDEX tst_pg_drop_index_2.idx_articles_name_custom |
1 change: 1 addition & 0 deletions
1
pkg/schema/pg/testdata/TestPostgres_DropIndex/simple_index.snap.txt
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
DROP INDEX tst_pg_drop_index_0.idx_articles_name |
2 changes: 2 additions & 0 deletions
2
pkg/schema/pg/testdata/TestPostgres_DropIndex/with_custom_name.snap.txt
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
CREATE INDEX idx_articles_name_custom ON tst_pg_drop_index_1.articles (name) | ||
DROP INDEX tst_pg_drop_index_1.idx_articles_name_custom |
1 change: 1 addition & 0 deletions
1
pkg/schema/sqlite/testdata/TestSQLite_AddIndex/simple_index.snap.txt
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
CREATE INDEX idx_articles_name ON articles (name) |
1 change: 1 addition & 0 deletions
1
pkg/schema/sqlite/testdata/TestSQLite_AddIndex/with_custom_name.snap.txt
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
CREATE INDEX lalalalala ON articles (name) |
1 change: 1 addition & 0 deletions
1
pkg/schema/sqlite/testdata/TestSQLite_AddIndex/with_multiple_Columns.snap.txt
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
CREATE INDEX idx_articles_name_id ON articles (name, id) |
1 change: 1 addition & 0 deletions
1
pkg/schema/sqlite/testdata/TestSQLite_AddIndex/with_order.snap.txt
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
CREATE INDEX idx_articles_name ON articles (name DESC) |
1 change: 1 addition & 0 deletions
1
pkg/schema/sqlite/testdata/TestSQLite_AddIndex/with_order_per_column.snap.txt
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
CREATE INDEX idx_articles_name_id ON articles (name DESC, id ASC) |
1 change: 1 addition & 0 deletions
1
pkg/schema/sqlite/testdata/TestSQLite_AddIndex/with_predicate.snap.txt
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
CREATE INDEX idx_articles_name ON articles (name) WHERE name IS NOT NULL |
1 change: 1 addition & 0 deletions
1
pkg/schema/sqlite/testdata/TestSQLite_AddIndex/with_unique_index.snap.txt
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
CREATE UNIQUE INDEX idx_articles_name ON articles (name) |
2 changes: 2 additions & 0 deletions
2
pkg/schema/sqlite/testdata/TestSQLite_DropIndex/if_exists.snap.txt
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
DROP INDEX IF EXISTS idx_articles_name_custom | ||
DROP INDEX idx_articles_name_custom |
1 change: 1 addition & 0 deletions
1
pkg/schema/sqlite/testdata/TestSQLite_DropIndex/simple_index.snap.txt
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
DROP INDEX idx_articles_name |
2 changes: 2 additions & 0 deletions
2
pkg/schema/sqlite/testdata/TestSQLite_DropIndex/with_custom_name.snap.txt
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
CREATE INDEX idx_articles_name_custom ON articles (name) | ||
DROP INDEX idx_articles_name_custom |