# Functions
CheckTableCount returns the query to check the count of the table.
CreateAppealTableIndicesQuery returns the query to create indices this table.
CreateAppealTableQuery returns the query to create this table.
CreateChallengeTableIndicesQuery returns the query to create indices this table.
CreateChallengeTableQuery returns the query to create this table.
CreateContentRevisionTableIndicesQuery returns the query to create indices for this table.
CreateContentRevisionTableQuery returns the query to create this table.
CreateCronTableQuery returns the query to create this table.
CreateGovernanceEventTableIndicesQuery returns the query to create indices for this table.
CreateGovernanceEventTableQuery returns the query to create this table.
CreateGovernmentParameterProposalTableQuery returns the query to create this table.
CreateGovernmentParameterTableQuery returns the query to create this table.
CreateListingTableIndicesQuery returns the query to create indices for this table.
CreateListingTableMigrationQuery returns the query to do db migrations.
CreateListingTableQuery returns the query to create the listing table.
CreateMultiSigOwnerTableIndicesQuery returns the query to create indices for this table.
CreateMultiSigOwnerTableQuery returns the query to create the multisig owner table.
CreateMultiSigTableQuery returns the query to create the multisig table.
CreateParameterProposalTableQuery returns the query to create this table.
CreateParameterTableQuery returns the query to create this table.
CreatePollTableIndicesQuery returns the query to create indices for this table.
CreatePollTableQuery returns the query to create this table.
CreateTokenTransferTableIndicesQuery returns the query to create indices for this table.
CreateTokenTransferTableQuery returns the query to create the token_transfer table.
CreateUserChallengeDataTableQuery returns the query to create the userchallengedata table.
NewAppeal creates a new appeal.
NewChallenge creates a new postgres challenge.
NewContentRevision constructs a content_revision for DB from a model.ContentRevision.
NewCronData creates a CronData model for DB with data to save.
NewGovernanceEvent creates a new postgres GovernanceEvent.
NewGovernmentParameter creates a new parameter.
NewGovernmentParameterProposal is the model definition for government_parameter_proposal table.
NewListing constructs a listing for DB from a model.Listing.
NewMultiSig constructs a multisig for DB from a model.MultiSig.
NewMultiSigOwner constructs a multisig owner for DB from a model.MultiSigOwner.
NewParameter creates a new parameter.
NewParameterProposal is the model definition for parameter_proposal table.
NewPoll creates a new poll.
NewTokenTransfer creates a new postgres TokenTransfer from model.TokenTransfer.
NewUserChallengeData creates a new UserChallengeData.
UserChallengeDataTableIndicesQuery returns the query to create indices for this table.
# Constants
AppealTableBaseName is the type of table this code defines.
ChallengeTableBaseName is the type of table this code defines.
ContentRevisionTableBaseName is the type of table this code defines.
CronTableBaseName is the base name of table this code defines.
DataPersistedModelName is the string name of DataPersisted field in CronData.
EventHashesDataType is the value for persisted event hashes for timestamp in the cron table.
GovernanceEventTableBaseName is the base name of the table this code defines.
GovernmentParameterProposalTableBaseName is the table name for this model.
GovernmentParameterTableBaseName is the type of table this code defines.
ListingTableBaseName is the type of table this code defines.
MultiSigOwnerTableBaseName is the type of table this code defines.
MultiSigTableBaseName is the type of table this code defines.
ParameterProposalTableBaseName is the table name for this model.
ParameterTableBaseName is the type of table this code defines.
PollTableBaseName is the type of table this code defines.
TimestampDataType is the value for a persisted timestamp in the cron table.
TokenTransferTableBaseName is the base name of the table this code defines.
UserChallengeDataTableBaseName is the name of this table.
# Structs
Appeal is model for appeal object.
Challenge is postgres definition of model.Challenge.
ContentRevision is the model for content_revision table in db Make IDs strings?.
CronData contains all the information related to cronjob that needs to be persisted in cron DB.
GovernanceEvent is postgres definition of model.GovernanceEvent.
GovernmentParameter is model for parameter object.
GovernmentParameterProposal is postgres definition of model.GovernmentParameterProposal.
Listing is the model definition for listing table in crawler db NOTE(IS) : golang<->postgres doesn't support list of strings.
MultiSig is the model definition for multisig table in crawler db NOTE(IS) : golang<->postgres doesn't support list of strings.
MultiSigOwner is the model definition for multisig owner table in crawler db.
Parameter is model for parameter object.
ParameterProposal is postgres definition of model.ParameterProposal.
Poll is model for poll object.
TokenTransfer is the postgres definition of a model.TokenTransfer.
UserChallengeData is the postgres definition of model.UserChallengeData.