updates to docs

This commit is contained in:
2023-08-18 09:07:34 +02:00
parent ec7ab0faee
commit fbb96ba838
4 changed files with 40 additions and 6 deletions

View File

@@ -61,7 +61,7 @@ class SQLDB {
async setupDB ( ) {
this.sqlConnection.query( 'SELECT @@default_storage_engine;', ( error, results ) => {
if ( error ) throw error;
if ( results[ 0 ][ '@@default_storage_engine' ] !== 'InnoDB' ) return 'DB HAS TO USE InnoDB!';
if ( results[ 0 ][ '@@default_storage_engine' ] !== 'InnoDB' ) throw 'DB HAS TO USE InnoDB!';
} );
this.sqlConnection.query( 'CREATE TABLE libreevent_users ( account_id INT ( 10 ) NOT NULL AUTO_INCREMENT, email TINYTEXT NOT NULL, pass TEXT, name TEXT, first_name TEXT, two_fa TINYTEXT, user_data VARCHAR( 60000 ), mail_confirmed TINYTEXT, marketing TINYTEXT, PRIMARY KEY ( account_id ) ) ENGINE=INNODB;', ( error ) => {
if ( error ) if ( error.code !== 'ER_TABLE_EXISTS_ERROR' ) throw error;

View File

@@ -1,25 +0,0 @@
# Account view:
- create function that parses DB every 15 minutes and clears out junk --> Also update data in db when user goes to purchase to prevent clearing during purchase
- Require user to confirm email before purchasing
- Load all orders of customer from db when selecting tickets and save to memory to check if ticket count has been exceeded or not.
- Create function that updates currency for every event when updating currency globally.
- Fix text field overflow (text too big for box)
- Other optimization for seat plan editor
- Implement Permission system
- Seat numbering!!
- FUTURE: Add Admin profile (page to change account settings per person like changing pwd)
- FUTURE add multi-language support
- FUTURE: Guest purchase
- FUTURE: add webpack (or any other minifying tool) to project website to decrease file size (OPTIONAL)