sq/drivers/sqlite3/testdata/README.md
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

17 lines
680 B
Markdown

# Sakila SQLite Test Data
## sakila.db
[`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`](./recreate_sakila_sqlite.sh%60).
## sakila-whitespace.db
[`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`](./sakila-whitespace-alter.sql) to
`sakila.db`. The changes can be reversed with
[`sakila-whitespace-restore.sql](./sakila-whitespace-restore.sql).