savrov
01/20/2020, 11:08 AMdeleteAll()
the PK value is not reseted to 0. Is there a way to do it?savrov
01/20/2020, 11:36 AMexec("ALTER SEQUENCE 'slots_id_seq' RESTART WITH 1")
return me an error:
Syntax error in SQL statement "ALTER SEQUENCE 'slots_id_seq'[*] RESTART WITH 1"; expected "identifier"
tapac
01/20/2020, 12:19 PMin-memory
database do you use?
Maybe it's simplier allways recreate the whole database from the ground?savrov
01/20/2020, 2:18 PMexec("ALTER TABLE slots ALTER COLUMN id RESTART WITH 1")