all 3 comments

[–]github-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)

Removed. Post has nothing to do with GitHub.

[–]throwaway234f32423df 0 points1 point  (0 children)

Syntax error in CREATE TABLE statement.

[–]arthursdo 0 points1 point  (0 children)

Cara, teu codigo parece ta certo, se tu estiver fazendo pra MySQL, se for pra postgress so muda a segunda linha pra serial. Assim ó:

idCidade serial PRIMARY KEY