func (db *DB) SetupPeerTables(peerSchema string, peerTable string) (err error) {

	// peer schema stuff
	// Initialize peer table
	// TODO: change this when peeridx is deprecated, if it ever is
	if err = db.InitializeSingleTable(db.peerSchema, db.peerTableName, "lnaddr VARBINARY(40), name TEXT, netaddr TEXT, peerIdx INT(32) UNSIGNED"); err != nil {
		err = fmt.Errorf("Could not initialize peer tables: \n%s", err)
		return
	}

	return
}
// SetupPeerTables sets up tables required for the database to conform to Lit Peer Storage
SetupPeerTables sets up tables required for the database to conform to Lit Peer Storage
// SetupPeerTables sets up tables required for the database to conform to Lit Peer Storage
func (db *DB) SetupPeerTables(peerSchema string, peerTable string) (err error) {
	if err = db.InitializeSingleTable(db.peerSchema, db.peerTableName, "lnaddr VARBINARY(40), name TEXT, netaddr TEXT, peerIdx INT(32) UNSIGNED"); err != nil {
		err = fmt.Errorf("Could not initialize peer tables: \n%s", err)
		return
	}
	return
}
func ( db * DB ) SetupPeerTables ( peerSchema string , peerTable string ) ( err error ) { if err = db . InitializeSingleTable ( db . peerSchema , db . peerTableName , " " ) ; err != nil { err = fmt . Errorf ( " \n " , err ) return } return }
SetupPeerTables sets up tables required for the database to conform to Lit Peer Storage
SetupPeerTables sets up tables required for the database to conform to Lit Peer Storage
// peer schema stuff // Initialize peer table // TODO: change this when peeridx is deprecated, if it ever is