| 104 | |
| 105 | |
| 106 | def create_tables(cursor, tables): |
| 107 | if "profiles" in tables: |
| 108 | cursor.execute(SQL_CREATE_PROFILE_TABLE) |
| 109 | |
| 110 | if "recordActivity" in tables: |
| 111 | cursor.execute(SQL_CREATE_RECORD_ACTIVITY_TABLE) |
| 112 | |
| 113 | if "followRestriction" in tables: |
| 114 | cursor.execute(SQL_CREATE_FOLLOW_RESTRICTION_TABLE) |
| 115 | |
| 116 | if "shareWithPodsRestriction" in tables: |
| 117 | cursor.execute(SQL_CREATE_SHARE_WITH_PODS_RESTRICTION_TABLE) |
| 118 | |
| 119 | if "commentRestriction" in tables: |
| 120 | cursor.execute(SQL_CREATE_COMMENT_RESTRICTION_TABLE) |
| 121 | |
| 122 | if "accountsProgress" in tables: |
| 123 | cursor.execute(SQL_CREATE_ACCOUNTS_PROGRESS_TABLE) |
| 124 | |
| 125 | |
| 126 | def verify_database_directories(address): |