add autoincrement for tables

This commit is contained in:
Jurgis Sakalauskas committed 2023-11-03 10:06:47 +02:00
1 parent 67dc81090e
commit 813e8af47f
2 files changed
+2 -2

No files matched your search

@@ -16,7 +16,7 @@ export class CreateTorrentsTableAndRelateToFiles1673603746273
await queryRunner.query(
`create table torrents
(
id INTEGER primary key,
id INTEGER primary key autoincrement,
magnet VARCHAR(512),
name VARCHAR(256),
path VARCHAR(512),