mirror of
https://github.com/neilotoole/sq.git
synced 2024-11-28 03:53:07 +03:00
1ea24dac4a
* "sq diff" initial implementation * Refactor "cli" pkg. |
||
---|---|---|
.. | ||
empty.db | ||
misc.db | ||
README.md | ||
recreate_sakila_sqlite.sh | ||
sakila_db | ||
sakila_diff.db | ||
sakila_whitespace.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_diff.db
sakila_diff.db
is a lightly modified variant of sakila.db
,
for use with test sq diff
.
- The
actor
table is missing the second row.DELETE FROM actor WHERE actor_id=2;
- There's a new table
awards
.
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.