title: SQLite :How can i add primary key to table using alter?
body: <p>Im trying to alter my table "Materiel" for make a primary key.,but this instruction is not working.</p>
  
  <pre><code>ALTER TABLE "MATERIEL" ADD CONSTRAINT "MATERIEL_PK" PRIMARY KEY ("MATRICULE")
  </code></pre>
  
  <p>This is stack trace:</p>
  
  <blockquote>
    <p>[00:22:39] Error while executing SQL query on database 'Data': near
    "CONSTRAINT": syntax error</p>
  </blockquote>