sawwee wrote:Flag_Hippo wrote:While we haven't published the database schema for PokerTracker 4 the PokerTracker 3 schema is still mostly valid. You can also view descriptions for the columns in PokerTracker 4 via 'Configure -> Statistics' but if there is anything specific you want to know please let us know and we would be happy to help.
During the past 9 years we've read promises at least 20 times saying that PT4 database schema will be published "soon". Aren't those promises valid anymore?
Well, I grew tired of waiting, so I took it upon myself to make a complete ordered table of all PT4 table schemas (columns), divided into each table, the same way it was done with PT3 years ago. I've published the PDF on this link:
pt4db.beninu.dk/pt4db_schema.pdfI made it by gathering the information from the previously publishe PT3 DB Scehma for all data that was ported unaltered to PT4. All the rest of the data (apæprox. 30%) that are new I read up on in various fora, and a few of them are self explanatory, but I've made an effort to make a description of each and every column in each table in the DB4 PostgreSQL database.
This is a quite comprehensive guide of 48 pages, so I suggest you print out the guide an keep it as a reference for when you want to make custom stats, custom HUDs, reports, etc.
Feel free to download a copy if you like. I expect nothing as this is merely a comprehensive listing of all the information I've found on the otherwie undocumented PostgreSQL database schema for PT4, by diggin all sorts of places, particularly foras where the development of custom HUDs and Custom stats are discussed. Many have been most kind and answered my questions when I was in doubt about the precise scope of the data in certain columns/stats/tables/etc. and that has also been a tremendous help.
The PDF linked in this post is the result of the combined efforts mentioned above.
This is where you download the complete PDF:
pt4db.beninu.dk/pt4db_schema.pdfI also have each of the tables as single PDF files if that has any interest. Please let me know if you're interested in these. I can make a zip-folder and make it available for download on the same webpage. Unfortunately there is no way I can attach them directly to the post, as the merged document is too large to fit within the 2MB boundary for attached documents/files. Besides they don't want files of the type PDF to be attached to your posts.
DISCLAIMER!! I take no responsibility for erroneous copies of the database information or spelling mistakes or other errors on my part if that should lead to you getting wrong stats on your own HUD's or PopUps, reports, etc. This is a handy tool I've made for myself and it works perfectly in all the siituations I've used it. Use it or don't - I don't care, but at least now there is a way to get a complete overview of all table columns in the Database.