mirror of
https://github.com/neilotoole/sq.git
synced 2024-12-22 23:51:44 +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
17 lines
680 B
Markdown
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).
|