Skip to content
#

jsonb

Here are 59 public repositories matching this topic...

MohitKS5
MohitKS5 commented Aug 28, 2020

go-pg doesn't follow any fixed constraint name conventions.

type TestAccess struct {
	Id        string   `pg:"type:uuid,default:uuid_generate_v4()" json:"id"`
	BatchId   string   `pg:"type:uuid,on_delete:CASCADE,unique:batch_id_test_id" json:"batch_id,omitempty"`
	Batch     *Batch   `json:"batch,omitempty"`
	StudentId string   `pg:"type:uuid,on_delete:CASCADE" json:"student_id,omitempt

Improve this page

Add a description, image, and links to the jsonb topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the jsonb topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.