mirror of
https://github.com/neilotoole/sq.git
synced 2024-11-24 11:54:37 +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
6 lines
173 B
SQL
6 lines
173 B
SQL
ALTER TABLE actor RENAME COLUMN "first name" TO "first_name";
|
|
|
|
ALTER TABLE actor RENAME COLUMN "last name" TO "last_name";
|
|
|
|
ALTER TABLE "film actor" RENAME TO "film_actor";
|