Zephyr.toml: Define the Tables Structure
Choosing a Table's Structure
name = "feedback-indexer"
// first table
[[tables]]
name = "feedback"
[[tables.columns]]
name = "source"
col_type = "BYTEA"
[[tables.columns]]
name = "hash"
col_type = "BYTEA"
[[tables.columns]]
name = "text"
col_type = "BYTEA"
[[tables.columns]]
name = "votes"
col_type = "BYTEA"
// second table
[[tables]]
name = "score"
[[tables.columns]]
name = "source"
col_type = "BYTEA"
[[tables.columns]]
name = "upvote"
col_type = "BYTEA"Table Naming
Last updated