:primary_key is not supported, use an index instead.

Other alternative: `execute "ALTER TABLE nodes ADD PRIMARY KEY (id)"`