sq/drivers/sqlite3/testdata
Neil O'Toole a1a89ee9dd
Support table and column names with spaces. (#156)
* sakila: initial test data

* sakila: more test data

* sakila: yet more test data setup

* whitespace cols: now working for sqlite

* grammar cleanup

* whitespace cols: now working inside count() func for sqlite

* whitespace cols: tests mostly passing; begining refactoring

* grammar: refactor handle

* grammar: more refactoring

* grammar: rename selElement to selector

* wip

* all tests passing

* all tests passing

* linting

* driver: implement CurrentSchema for all driver.SQLDriver impls

* driver: tests for AlterTableRename and AlterTableRenameColumn

* undo reformat of SQL

* undo reformat of SQL

* undo reformat of SQL

* undo reformat of SQL
2023-03-22 00:17:34 -06:00
..
empty.db Initial work on a JSON driver (#70) 2020-10-20 09:05:43 -06:00
misc.db codebase refactor 2020-08-06 11:58:47 -06:00
README.md Support table and column names with spaces. (#156) 2023-03-22 00:17:34 -06:00
recreate_sakila_sqlite.sh codebase refactor 2020-08-06 11:58:47 -06:00
sakila_db codebase refactor 2020-08-06 11:58:47 -06:00
sakila-whitespace-alter.sql Support table and column names with spaces. (#156) 2023-03-22 00:17:34 -06:00
sakila-whitespace-restore.sql Support table and column names with spaces. (#156) 2023-03-22 00:17:34 -06:00
sakila-whitespace.db Support table and column names with spaces. (#156) 2023-03-22 00:17:34 -06:00
sakila.db implementing SQLDriver.AlterTableAddColumn (#65) 2020-08-20 21:08:59 -06:00
sqlite-sakila-delete-data.sql codebase refactor 2020-08-06 11:58:47 -06:00
sqlite-sakila-drop-objects.sql codebase refactor 2020-08-06 11:58:47 -06:00
sqlite-sakila-insert-data.sql codebase refactor 2020-08-06 11:58:47 -06:00
sqlite-sakila-schema.sql codebase refactor 2020-08-06 11:58:47 -06:00
type_test.ddl codebase refactor 2020-08-06 11:58:47 -06:00

Sakila SQLite Test Data

sakila.db

sakila.db contains the standard Sakila dataset. It can be regenerated from the sqlite-sakila-X.sql SQL scripts using recreate_sakila_sqlite.sh.

sakila-whitespace.db

sakila-whitespace.db contains a mutated Sakila schema, with some table and column names changed. This is to facilitate testing of sq's ability to support such names. The mutated DB is achieved by applying sakila-whitespace-alter.sql to sakila.db. The changes can be reversed with `sakila-whitespace-restore.sql.