Skip to content

Instantly share code, notes, and snippets.

@serefyarar
Created March 28, 2023 13:56
Show Gist options
  • Save serefyarar/2e110db96b61c5d1eaded634115a51ca to your computer and use it in GitHub Desktop.
Save serefyarar/2e110db96b61c5d1eaded634115a51ca to your computer and use it in GitHub Desktop.
index schema 28
type Index @createModel(accountRelation: LIST, description: "A Simple Index"){
controller_did: DID! @documentAccount
title: String! @string(maxLength:1000)
version: CommitID! @documentVersion
collab_action: String @string(maxLength:150)
created_at: DateTime!
updated_at: DateTime!
deleted_at: DateTime
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment