i am making a db and am creating a table from a csv file. when writing my column names i see a PK toggle. do i have to select that for the db to know the pk of that table? or does postgres already know what it will be?

please eli5/not-too-complex, i’m a beginner at making my own tables.

i’m not sure how to tell it what the fks are if i have to tell it the pks so if someone can help that’ll be awesome too. thanks!

submitted by /u/hiheroioz
[link] [comments]

Go to Source of this post
Author Of this post: /u/hiheroioz
Title Of post: do i have to manual tell my db what the pk and fks are?
Author Link: {authorlink}

By admin