mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-24 18:04:32 +02:00
create-table --ignore and --replace, refs #27
This commit is contained in:
parent
4d5916075d
commit
9f6085b4e4
4 changed files with 62 additions and 1 deletions
|
|
@ -399,6 +399,8 @@ You can specify foreign key relationships between the tables you are creating us
|
|||
[author_id] INTEGER REFERENCES [authors]([id])
|
||||
)
|
||||
|
||||
If a table with the same name already exists, you will get an error. You can choose to silently ignore this error with ``--ignore``, or you can replace the existing table with a new, empty table using ``--replace``.
|
||||
|
||||
.. _cli_add_column:
|
||||
|
||||
Adding columns
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue