mirror of
https://github.com/neilotoole/sq.git
synced 2024-12-22 15:41:35 +03:00
a1a89ee9dd
* 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 |
||
---|---|---|
.. | ||
empty.db | ||
misc.db | ||
README.md | ||
recreate_sakila_sqlite.sh | ||
sakila_db | ||
sakila-whitespace-alter.sql | ||
sakila-whitespace-restore.sql | ||
sakila-whitespace.db | ||
sakila.db | ||
sqlite-sakila-delete-data.sql | ||
sqlite-sakila-drop-objects.sql | ||
sqlite-sakila-insert-data.sql | ||
sqlite-sakila-schema.sql | ||
type_test.ddl |
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.