dotfiles/.config/pgcli/history

3098 lines
92 KiB
Text
Raw Normal View History

2022-06-07 13:17:40 -04:00
# 2021-06-01 14:31:05.506385
+select * from auth_user
# 2021-06-01 14:32:28.416061
+exit
# 2021-07-21 13:15:07.942929
+\dt
# 2021-07-21 13:15:32.935310
+\d certifications_requirementfield
# 2021-07-21 13:15:49.392824
+\e vim
# 2021-07-21 13:15:57.449990
+\d certifications_requirementfield
# 2021-07-21 13:16:12.794964
+\d certifications_requirementfieldentry
# 2021-07-21 13:16:24.598346
+\dt certifications_requirementfieldentry
# 2021-07-21 13:16:36.549003
+\d certifications_requirementfieldentry
# 2021-07-21 13:17:43.367454
+\h
# 2021-07-21 13:17:58.812243
+select * from certifications_requirementfield
# 2021-07-21 13:18:22.564939
+select * from certifications_requirementfield \e
# 2021-07-21 13:20:02.138237
+select * from certifications_requirementfield \o
# 2021-07-21 13:20:08.425302
+select * from certifications_requirementfield \ef
# 2021-07-21 13:20:10.329200
+select * from certifications_requirementfield \e
# 2021-07-21 13:20:15.177330
+select * from certifications_requirementfield
# 2021-07-21 13:26:54.184837
+select * from certifications_certificationfieldentry
# 2021-07-21 13:27:17.829256
+select * from certifications_certificationtype
# 2021-07-21 15:24:49.255100
+\dt information_schema
# 2021-07-21 15:57:40.425505
+select * from certifications_requirementfieldentry
# 2021-07-27 09:05:17.481432
+select * from certifications_certificationtype
# 2021-07-27 09:05:37.326694
+select name from certifications_certificationtype
# 2021-07-27 15:09:38.700670
+select * from certifications_requirementfieldentry
# 2021-07-27 15:12:21.944445
+select * from certifications_requirementfieldentry where id=14
# 2021-07-27 15:16:57.924709
+select * from certification
# 2021-07-27 15:17:06.335020
+select * from certifications_certification
# 2021-07-27 15:30:45.082826
+select * from certifications_requirementfieldentry where user=12
# 2021-07-27 15:31:02.165795
+select * from certifications_requirementfieldentry where id=14
# 2021-07-27 15:32:36.365115
+select * from certifications_certification
# 2021-07-27 15:33:36.100486
+select user_id from certifications_certification
# 2021-07-27 15:33:42.244867
+select user_id from certifications_certification where id=8
# 2021-07-27 15:33:54.248492
+select * from auth_user where id=12
# 2021-07-27 15:34:56.187613
+select * from certifications_certificationfieldentry
# 2021-07-27 15:41:15.656404
+select * from auth_user where id=14
# 2021-07-27 15:41:22.686042
+select user_id from certifications_certification where id=8
# 2021-07-27 15:42:41.022480
+select user_id from certifications_certification where id=77
# 2021-07-27 15:47:36.858762
+select user_id from certifications_certification
# 2021-07-27 15:47:48.128940
+select id,user_id from certifications_certification
# 2021-07-27 15:47:56.068617
+select id,user_id from certifications_certification where user_id=14
# 2021-07-28 15:45:18.719787
+select name from certifications_certificationtype
# 2021-07-30 08:48:07.187034
+select * from certifications_certificationfieldentry
# 2021-07-30 08:48:11.715351
+select * from certifications_certificationfield
# 2021-07-30 08:48:21.529747
+select * from certifications_certification
# 2021-07-30 09:40:44.827498
+select * from certifications_requirementfield
# 2021-08-02 16:31:53.774268
+select name from certifications_certificationtype
# 2021-08-04 08:41:18.309156
+\e
# 2021-08-04 08:41:27.627789
+BEGIN;
+SELECT setval(pg_get_serial_sequence('"certifications_notice"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_notice";
+SELECT setval(pg_get_serial_sequence('"certifications_noticelog"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_noticelog";
+SELECT setval(pg_get_serial_sequence('"certifications_noticedefaultlogrecord"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_noticedefaultlogrecord";
+SELECT setval(pg_get_serial_sequence('"certifications_requirementfield_statuses"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_requirementfield_statuses";
+SELECT setval(pg_get_serial_sequence('"certifications_requirementfield"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_requirementfield";
+SELECT setval(pg_get_serial_sequence('"certifications_requirementfieldentry"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_requirementfieldentry";
+SELECT setval(pg_get_serial_sequence('"certifications_certificationtype"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certificationtype";
+SELECT setval(pg_get_serial_sequence('"certifications_accountnumber"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_accountnumber";
+SELECT setval(pg_get_serial_sequence('"certifications_certificationrep"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certificationrep";
+SELECT setval(pg_get_serial_sequence('"certifications_certification"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certification";
+SELECT setval(pg_get_serial_sequence('"certifications_statusreport"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_statusreport";
+SELECT setval(pg_get_serial_sequence('"certifications_certificationapp_payment_methods"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certificationapp_payment_methods";
+SELECT setval(pg_get_serial_sequence('"certifications_certificationapp"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certificationapp";
+SELECT setval(pg_get_serial_sequence('"certifications_certificationappfield"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certificationappfield";
+SELECT setval(pg_get_serial_sequence('"certifications_certificationfieldentry"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certificationfieldentry";
+SELECT setval(pg_get_serial_sequence('"certifications_statusfield"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_statusfield";
+SELECT setval(pg_get_serial_sequence('"certifications_statusfieldentry"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_statusfieldentry";
+SELECT setval(pg_get_serial_sequence('"certifications_certificationimport"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certificationimport";
+SELECT setval(pg_get_serial_sequence('"certifications_certificationimportdata"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certificationimportdata";
+COMMIT;
# 2021-08-04 08:41:57.875948
+select name from certifications_certificationtype
# 2021-08-04 08:42:23.033642
+exit
# 2021-08-04 08:42:31.758051
+select name from certifications_certificationtype
# 2021-08-06 11:07:27.191921
+BEGIN;
+SELECT setval(pg_get_serial_sequence('"search_unindexeditem"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "search_unindexeditem";
+COMMIT;
# 2021-08-06 11:10:30.961633
+SELECT setval(pg_get_serial_sequence('"certifications_statusfield"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_statusfield";
+SELECT setval(pg_get_serial_sequence('"certifications_statusfieldentry"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_statusfieldentry";
+
# 2021-08-06 11:14:15.328369
+BEGIN;
+SELECT setval(pg_get_serial_sequence('"directories_category"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "directories_category";
+SELECT setval(pg_get_serial_sequence('"directories_directory_cats"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "directories_directory_cats";
+SELECT setval(pg_get_serial_sequence('"directories_directory_sub_cats"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "directories_directory_sub_cats";
+SELECT setval(pg_get_serial_sequence('"directories_directory"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "directories_directory";
+SELECT setval(pg_get_serial_sequence('"directories_affiliateship"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "directories_affiliateship";
+SELECT setval(pg_get_serial_sequence('"directories_directorypricing"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "directories_directorypricing";
+SELECT setval(pg_get_serial_sequence('"directories_affiliaterequest"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "directories_affiliaterequest";
+SELECT setval(pg_get_serial_sequence('"directories_requestemail"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "directories_requestemail";
+SELECT setval(pg_get_serial_sequence('"directories_connection_affliated_cats"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "directories_connection_affliated_cats";
+SELECT setval(pg_get_serial_sequence('"directories_connection"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "directories_connection";
+COMMIT;
# 2021-08-06 11:50:48.672752
+
+BEGIN;
+SELECT setval(pg_get_serial_sequence('"certifications_notice"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_notice";
+SELECT setval(pg_get_serial_sequence('"certifications_noticelog"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_noticelog";
+SELECT setval(pg_get_serial_sequence('"certifications_noticedefaultlogrecord"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_noticedefaultlogrecord";
+SELECT setval(pg_get_serial_sequence('"certifications_requirementfield_statuses"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_requirementfield_statuses";
+SELECT setval(pg_get_serial_sequence('"certifications_requirementfield"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_requirementfield";
+SELECT setval(pg_get_serial_sequence('"certifications_requirementfieldentry"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_requirementfieldentry";
+SELECT setval(pg_get_serial_sequence('"certifications_certificationtype"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certificationtype";
+SELECT setval(pg_get_serial_sequence('"certifications_accountnumber"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_accountnumber";
+SELECT setval(pg_get_serial_sequence('"certifications_certificationrep"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certificationrep";
+SELECT setval(pg_get_serial_sequence('"certifications_certification"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certification";
+SELECT setval(pg_get_serial_sequence('"certifications_statusreport"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_statusreport";
+SELECT setval(pg_get_serial_sequence('"certifications_certificationapp_payment_methods"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certificationapp_payment_methods";
+SELECT setval(pg_get_serial_sequence('"certifications_certificationapp"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certificationapp";
+SELECT setval(pg_get_serial_sequence('"certifications_certificationappfield"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certificationappfield";
+SELECT setval(pg_get_serial_sequence('"certifications_certificationfieldentry"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certificationfieldentry";
+SELECT setval(pg_get_serial_sequence('"certifications_statusfield"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_statusfield";
+SELECT setval(pg_get_serial_sequence('"certifications_statusfieldentry"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_statusfieldentry";
+SELECT setval(pg_get_serial_sequence('"certifications_certificationimport"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certificationimport";
+SELECT setval(pg_get_serial_sequence('"certifications_certificationimportdata"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certificationimportdata";
+COMMIT;
# 2021-08-06 11:51:50.807563
+SELECT setval(pg_get_serial_sequence('"certifications_certificationapp"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certificationapp";
# 2021-08-06 11:52:26.146287
+SELECT setval(pg_get_serial_sequence('"certifications_certificationapp"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certificationapp"
# 2021-08-06 11:54:40.492257
+end
# 2021-08-06 11:54:43.058382
+SELECT setval(pg_get_serial_sequence('"certifications_certificationapp"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certificationapp"
# 2021-08-06 11:56:17.039563
+SELECT setval(pg_get_serial_sequence('"certifications_certificationapp_payment_methods"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certificationapp_payment_methods";
+
# 2021-08-09 13:06:45.785388
+select * from forms_fieldentry
# 2021-08-09 13:06:54.924999
+select * from forms_formentry
# 2021-08-09 13:08:13.178256
+select * from information_schema.columns
# 2021-08-09 13:08:33.544740
+select * from information_schema.columns where column_name like '%form%'
# 2021-08-09 13:10:57.886508
+select * from certifications_certificationapp
# 2021-08-09 13:11:11.086678
+select * from certifications_certificationapp /e
# 2021-08-09 13:11:14.265879
+select * from certifications_certificationapp
# 2021-08-09 13:11:40.432622
+select certification_type_id,form_2nd_conf_text, form_2nd_desc, form_2nd_name from certifications_certificationapp
# 2021-08-09 15:11:44.295917
+select * from information_schema.columns where column_name like '%form%'
# 2021-08-09 15:18:54.717259
+select * from forms_fieldentry
# 2021-08-09 15:19:08.326394
+select * from forms_formentry
# 2021-08-09 15:20:03.364528
+select * from forms_field
# 2021-08-09 15:20:09.194795
+select * from forms_form
# 2021-08-09 15:20:39.029139
+select * from information_schema.columns where column_name like '%form%'
# 2021-08-09 15:25:13.569566
+SELECT setval(pg_get_serial_sequence('"certifications_certificationappfield"','id'), coalesce(max("id"), 1), max("id") IS NOT null) FROM "certifications_certificationappfield";
+
# 2021-08-09 15:29:20.392012
+select * from certifications_certificationfieldentry
# 2021-08-09 15:31:02.564406
+select * from certifications_certificationapp
# 2021-08-09 15:31:32.168869
+select columns from information_schema where table="certifications_certificationapp"
# 2021-08-09 15:31:44.077459
+select columns from information_schema where table_name="certifications_certificationapp"
# 2021-08-09 15:31:48.184193
+select * from information_schema
# 2021-08-09 15:32:10.950383
+select columns from information_schema.columns where table_name="certifications_certificationapp"
# 2021-08-09 15:32:34.426934
+select columns from information_schema.columns where table_name='certifications_certificationapp'
# 2021-08-09 15:32:50.927496
+clear
# 2021-08-09 15:32:53.802623
+cls
# 2021-08-09 15:52:48.372390
+select * from certifications_certificationfieldentry
# 2021-08-09 16:06:42.018945
+select * from certifications_certificationfieldentry
# 2021-08-11 11:28:05.007916
+select * from certifications_certificationfieldentry
# 2021-08-11 11:28:29.191111
+select * from certifications_certificationfield
# 2021-08-11 11:28:41.000599
+select * from certifications_certificationappfield
# 2021-08-11 11:30:58.974048
+select columns from information_schema.columns where table_name='certification_certificationappfield'
# 2021-08-11 11:31:24.007474
+select columns from information_schema.columns where table_name='certifications_certificationappfield'
# 2021-08-11 11:32:50.195924
+select * from certifications_certificationappfield
# 2021-08-11 11:34:55.940204
+select * from certifications_certificationappfieldentry
# 2021-08-11 11:35:13.363084
+select * from certifications_certificationfieldentry
# 2021-08-11 11:35:32.776901
+select * from certifications_certificationappfieldentry
# 2021-08-11 11:35:36.669744
+select * from certifications_certificationfieldentry
# 2021-08-11 11:35:41.850831
+select * from certifications_certificationappfield
# 2021-08-11 11:36:00.462370
+select * from certifications_certificationfieldentry
# 2021-08-11 17:14:21.462151
+select * from certifications_certificationfield
# 2021-08-11 17:14:39.342389
+select * from certifications_certificationappfield
# 2021-08-12 13:10:57.074542
+select * from certifications_certificationfieldentry
# 2021-08-16 10:21:28.382606
+ls
# 2021-08-16 10:21:36.073995
+exit
# 2021-08-18 13:22:35.114817
+select * from contacts_company
# 2021-08-18 13:22:44.537553
+select * from contacts_company_urls
# 2021-08-18 13:23:02.020874
+select * from corporate_memberships_corpmembershipapp_corp_memb_type
# 2021-08-18 13:23:40.810371
+select * from corporate_memberships_corpprofile
# 2021-08-19 08:03:21.965558
+select * from directories_directory
# 2021-08-19 08:27:50.146779
+select * from categories_category
# 2021-08-19 08:46:41.790093
+select * from directories_directory
# 2021-08-19 08:50:45.146416
+select * from directories_category
# 2021-08-19 08:51:01.266105
+select * from directories_directory_cats
# 2021-08-19 09:33:49.048193
+select * from directories_category
# 2021-08-19 09:39:58.984656
+select * from categories_category
# 2021-08-19 09:40:11.586033
+select * from categories_categoryitem
# 2021-08-19 09:55:48.948346
+select * from directories_category
# 2021-08-19 10:06:59.769160
+select * from directories_directory_cats
# 2021-08-19 10:42:57.917546
+select * from directories_directory
# 2021-08-24 17:07:50.176758
+select * from directories_directory_cats
# 2021-08-24 17:08:10.713052
+select * from directories_directory
# 2021-10-01 14:44:34.155617
+exit
# 2021-10-01 14:44:50.230109
+select * from certification_extension_castle_id
# 2021-10-01 15:01:25.610623
+exit
# 2021-10-01 15:01:37.668511
+select * from certification_extension_castle_id
# 2021-10-01 15:21:54.934629
+exit
# 2021-10-01 15:24:24.719616
+select * from certification_extension_scantron
# 2021-10-04 08:36:48.710958
+exit
# 2021-10-04 08:41:29.244466
+select * from certifications_accountnumber
# 2021-10-04 08:49:43.028732
+select * from certification_extension_castle_id
# 2021-10-04 08:57:38.559559
+exit
# 2021-10-04 09:41:06.514555
+select * from certifications_accountnumber
# 2021-10-04 09:41:14.654266
+cert
# 2021-10-04 09:42:08.908343
+select * from certification_extension_castle_id
# 2021-10-04 09:43:10.977806
+exit
# 2021-10-04 09:43:25.160593
+select * from certification_extension_castle_id
# 2021-10-04 09:52:43.073288
+select * from certification_extension_castleid
# 2021-10-04 09:52:46.546151
+exit
# 2021-10-04 09:53:10.946414
+select * from certification_extension_castleid
# 2021-10-04 09:53:14.203940
+exit
# 2021-10-04 09:54:02.968865
+select * from certification_extension_castleid
# 2021-10-04 10:07:38.282864
+exit
# 2021-10-04 10:08:41.209214
+select * from certification_extension_scantron
# 2021-10-04 10:12:36.419387
+exit
# 2021-10-04 13:06:52.179988
+select * from certification_extension_scantron
# 2021-10-04 14:29:09.582729
+exit
# 2021-10-05 14:46:07.108772
+select * from certification_extension_scantron
# 2021-10-05 14:53:39.177877
+select * from certifications_certificationapp
# 2021-10-05 14:53:59.129676
+select * from certifications_certificationapp_payment_methods
# 2021-10-05 14:54:07.402597
+select * from certifications_certificationapp
# 2021-10-05 15:56:35.929478
+select * from corporate_memberships_corpmembershipapp_corp_memb_type
# 2021-10-05 15:58:05.724535
+select * from certifications_requirementfield_statuses
# 2021-10-05 16:05:18.129052
+exit
# 2021-10-05 16:05:38.079111
+select * from certification_extension_scantron
# 2021-10-05 16:05:53.155076
+exit
# 2021-10-05 16:06:29.206854
+select * from certification_extension_scantron
# 2021-10-05 16:07:59.003589
+drop database postgres
# 2021-10-05 16:08:11.924733
+close database postgres
# 2021-10-05 16:08:24.366940
+exit
# 2021-10-05 16:09:00.645677
+drop database postgres
# 2021-10-05 16:27:20.240269
+exit
# 2021-10-05 16:28:07.615906
+select * from certification_extension_answer
# 2021-10-05 16:28:14.138794
+select * from certification_extension_answer_exam
# 2021-10-05 16:29:30.788015
+select * from certifications_requirementfield_statuses
# 2021-10-05 16:39:52.061767
+exit
# 2021-10-06 11:39:01.784858
+ls
# 2021-10-06 11:39:09.562237
+select * from certification_extension_scantronprofile
# 2021-10-06 11:50:55.925603
+select * from certification_extension_scantronexam
# 2021-10-06 11:54:56.293573
+select * from certification_extension_scantronexamanswer
# 2021-10-06 11:58:07.269719
+select * from examlevel
# 2021-10-06 11:58:12.545770
+select * from certification_extension_scantronexamlevel
# 2021-10-06 14:27:14.482877
+select * from certification_extension_scantronprofile
# 2021-10-06 14:30:23.320306
+select * from certification_extension_scantronexam
# 2021-10-06 14:34:09.231122
+select * from certification_extension_scantronprofile
# 2021-10-06 14:38:20.142185
+select * from certification_extension_scantronexam
# 2021-10-06 14:49:19.365019
+select * from certification_extension_scantronexamlevel
# 2021-10-06 14:56:56.957600
+select * from certification_extension_scantronexamanswer
# 2021-10-06 14:58:06.225959
+select * from certification_extension_scantronprofile
# 2021-10-06 14:58:15.331788
+select * from certification_extension_scantronexam
# 2021-10-06 14:58:22.172360
+select * from examlevel
# 2021-10-06 14:58:26.102142
+select * from certification_extension_scantronexamlevel
# 2021-10-06 14:58:33.521553
+select * from certification_extension_scantronexamanswer
# 2021-10-06 15:02:48.499763
+select * from certification_extension_scantronexam
# 2021-10-06 15:06:06.935513
+clear
# 2021-10-06 15:06:08.394084
+cls
# 2021-10-06 15:06:11.162807
+exit
# 2021-10-06 15:06:28.262655
+select * from certification_extension_scantronprofile
# 2021-10-06 15:06:34.971952
+select * from certification_extension_scantronexam
# 2021-10-06 15:06:44.637435
+select * from certification_extension_scantronexamanswer
# 2021-10-06 15:06:52.471025
+select * from certification_extension_scantronexamlevel
# 2021-10-06 15:21:38.073063
+select * from certification_extension_scantronexamanswer
# 2021-10-06 16:15:47.573776
+select * from certification_extension_scantronprofile
# 2021-10-06 16:15:58.945115
+select * from certification_extension_scantronexam
# 2021-10-06 16:16:39.859597
+select * from certification_extension_scantronexamanswer
# 2021-10-06 16:17:02.677854
+select * from certification_extension_scantronexamlevel
# 2021-10-06 16:25:35.090931
+select * from certification_extension_scantronprofile
# 2021-10-07 09:16:52.356096
+select * from certification_extension_scantronexamlevel
# 2021-10-07 09:19:07.230518
+exit
# 2021-10-07 09:19:13.898359
+select * from certification_extension_scantronexamlevel
# 2021-10-07 09:38:05.729141
+select * from certification_extension_scantronexamanswer
# 2021-10-07 11:15:16.170252
+select * from certification_extension_scantronexam
# 2021-10-07 11:36:54.192736
+select * from certification_extension_scantronexamanswer
# 2021-10-07 11:37:30.780826
+select * from certification_extension_scantronexamlevel
# 2021-10-07 11:42:08.029065
+select * from certification_extension_scantronexam
# 2021-10-07 11:44:46.339112
+select * from certification_extension_scantronexamanswer
# 2021-10-07 11:44:51.716572
+select * from certification_extension_scantronexam
# 2021-10-07 11:44:56.608229
+select * from certification_extension_scantronexamlevel
# 2021-10-07 11:44:59.733059
+select * from certification_extension_scantronexamanswer
# 2021-10-07 11:49:56.705740
+select * from certification_extension_scantronexamlevel
# 2021-10-07 11:50:05.198693
+select * from certification_extension_scantronexam
# 2021-10-07 13:20:04.024643
+select * from certification_extension_scantronexamlevel
# 2021-10-07 14:11:39.556347
+select * from certification_extension_scantronexamanswer
# 2021-10-07 14:21:53.982240
+select * from certification_extension_scantronexam
# 2021-10-07 14:24:47.141684
+select * from certification_extension_scantronexamlevel
# 2021-10-07 14:25:34.940640
+select * from certification_extension_scantronexamanswer
# 2021-10-07 14:40:52.149012
+select * from certification_extension_scantronexam
# 2021-10-07 14:41:17.845509
+truncate table certification_extension_scantronexam
# 2021-10-07 14:41:26.739905
+select * from certification_extension_scantronexam
# 2021-10-07 14:41:44.192285
+truncate table certification_extension_scantronexam
# 2021-10-07 14:41:58.546613
+truncate table certification_extension_scantronexam cascade
# 2021-10-07 14:42:09.526060
+select * from certification_extension_scantronexam
# 2021-10-07 14:42:13.074057
+select * from certification_extension_scantronexamanswer
# 2021-10-07 14:42:15.705004
+select * from certification_extension_scantronexamlevel
# 2021-10-07 14:43:10.278132
+select * from certification_extension_scantronexam
# 2021-10-07 14:44:57.360238
+select * from certification_extension_scantronexamlevel
# 2021-10-07 14:45:01.527682
+select * from certification_extension_scantronexamanswer
# 2021-10-07 14:45:06.341583
+select * from certification_extension_scantronexam
# 2021-10-07 14:48:15.300875
+exit
# 2021-10-07 14:48:57.142209
+select * from certification_extension_scantronexam
# 2021-10-07 14:50:07.987741
+select * from certification_extension_scantronexamanswer
# 2021-10-07 14:50:20.027474
+select * from certification_extension_scantronexamlevel
# 2021-10-07 14:50:39.373974
+select * from certification_extension_scantronexamanswer
# 2021-10-07 14:50:42.012904
+select * from certification_extension_scantronexamlevel
# 2021-10-07 14:50:45.661599
+select * from certification_extension_scantronexam
# 2021-10-07 14:51:18.909221
+select * from certification_extension_scantronexamlevel
# 2021-10-07 14:51:26.255442
+select * from certification_extension_scantronexamanswer
# 2021-10-07 17:03:49.026906
+select * from certification_extension_scantronexam
# 2021-10-07 17:06:32.728603
+select * from certification_extension_scantronexamanswer
# 2021-10-07 17:06:36.308761
+select * from certification_extension_scantronexamlevel
# 2021-10-07 17:06:49.791388
+select * from certification_extension_scantronexam
# 2021-10-07 17:07:58.876538
+select * from certification_extension_scantronexamlevel
# 2021-10-07 17:08:17.277743
+select * from certification_extension_scantronexamanswer
# 2021-10-12 14:20:39.069064
+select * from certification_extension_scantronexam
# 2021-10-14 11:36:25.850235
+select * from scan
# 2021-10-14 11:36:28.378577
+exit
# 2021-10-14 11:37:36.152966
+ls
# 2021-10-14 11:37:43.232390
+select * from certification_extension_scantronexam
# 2021-10-14 12:02:38.545073
+select * from certifications_certificationimport
# 2021-10-14 12:02:54.486435
+select * from accountnumber
# 2021-10-14 12:02:57.587171
+select * from certifications_accountnumber
# 2021-10-14 12:03:17.664286
+select * from certifications_certificationrep
# 2021-10-14 12:03:43.464142
+select * from statusreport
# 2021-10-14 12:10:23.986399
+select * from corporate_memberships_creator
# 2021-10-14 12:10:31.675412
+select * from freepasses
# 2021-10-14 12:10:35.043268
+select * from corporate_memberships_freepassesstat
# 2021-10-14 12:11:04.685876
+select * from corporate_memberships_indivemailverification
# 2021-10-14 12:11:30.743032
+select * from corporate_memberships_corpmembershipimport
# 2021-10-14 13:02:17.078775
+select * from payments_payment
# 2021-10-14 13:06:41.691606
+select type(payment_id) from payments_payment
# 2021-10-14 13:07:32.938968
+select data_type from information_schema.columns where table_name = 'payments_payment'
# 2021-10-14 13:08:09.163817
+select data_type from information_schema.columns where table_name = 'payments_payment' and column_name=
# 2021-10-14 13:08:11.645199
+select * from payments_payment
# 2021-10-14 13:08:32.548276
+select data_type from information_schema.columns where table_name = 'payments_payment' and column_name=guid
# 2021-10-14 13:08:38.457477
+select data_type from information_schema.columns where table_name = 'payments_payment' and column_name='guid'
# 2021-10-14 13:08:51.811472
+select * from payments_payment
# 2021-10-14 13:09:07.353934
+select length('80eff2d9-3a67-4e3c-853a-aa52f858e536')
# 2021-10-14 13:10:18.946287
+select * from payments_payment
# 2021-10-14 13:10:26.522124
+select data_type from information_schema.columns where table_name = 'payments_payment' and column_name='amount'
# 2021-10-14 14:21:28.386710
+select * from payments_payment
# 2021-10-15 14:16:49.920012
+exit
# 2021-10-15 14:42:42.016654
+ls
# 2021-10-15 15:30:35.564336
+exit
# 2021-10-18 08:07:14.577679
+select * from billable
# 2021-10-18 08:07:19.983110
+select * from certification_extension_billableevent
# 2021-10-18 08:28:13.789177
+vim
# 2021-10-18 08:28:16.638426
+exit
# 2021-10-18 08:35:15.386215
+select * from categories_category
# 2021-10-18 08:35:22.006018
+exit
# 2021-10-18 09:59:27.890545
+select * from payments_paymentmethod
# 2021-10-19 09:13:55.841116
+exit
# 2021-10-21 14:41:10.688202
+select * from certifications_certification
# 2021-10-21 14:42:21.560197
+select * from information_schema.columns
# 2021-10-21 14:42:40.747616
+select column_name from information_schema.columns
# 2021-10-21 14:42:53.907411
+select column_name from information_schema.columns where table_name like '*certification*'
# 2021-10-21 14:42:59.556493
+select column_name from information_schema.columns where table_name like '%certification%'
# 2021-10-21 14:43:17.653877
+select column_name, table_name from information_schema.columns where table_name like '%certification%'
# 2021-10-21 14:54:51.313796
+select * from certifications_certification
# 2021-10-22 10:27:53.547123
+exit
# 2021-10-22 10:47:25.982149
+select id, create_date from certifications_certification
# 2021-10-22 10:47:35.289254
+select id, create_dt from certifications_certification
# 2021-10-22 10:47:40.723587
+select id, create_dt from certifications_certification order by id
# 2021-10-22 10:48:06.297312
+select id, create_dt, renewal from certifications_certification order by id
# 2021-10-22 10:48:45.568981
+select id, create_dt from certifications_certification order by id
# 2021-10-22 10:48:52.918306
+select * from certifications_certification
# 2021-10-22 10:52:17.018733
+select id, create_dt, status from certifications_certification order by id
# 2021-10-22 10:54:50.862210
+select id, create_dt, renewal, status from certifications_certification order by id
# 2021-10-25 11:23:25.750836
+select * from payments_paymentmethod
# 2021-10-25 11:36:41.782157
+select * from auth_user
# 2021-10-25 11:43:52.542898
+select * from certifications_requirementfield
# 2021-10-25 11:44:12.031191
+select * from certifications_requirementfield_statuses
# 2021-10-25 11:44:34.190046
+select * from certifications_statusfield
# 2021-10-25 11:53:40.366639
+select * from certifications_requirementfield
# 2021-10-25 11:56:22.488356
+select * from certifications_requirementfieldentry
# 2021-10-25 11:56:39.413319
+select * from certifications_statusfieldentry
# 2021-10-25 11:57:24.655246
+select * from certifications_requirementfield
# 2021-10-25 11:57:42.058000
+select * from certifications_requirementfield_statuses
# 2021-10-25 12:13:35.663332
+select * from certifications_requirementfieldentry
# 2021-10-25 14:20:12.076871
+select * from certification_extension_billableevent
# 2021-10-27 14:16:38.056418
+exit
# 2021-10-27 14:17:02.887320
+select * from ltp_answerbase
# 2021-10-27 14:17:17.148999
+select * from ltp_course
# 2021-10-27 14:33:57.713153
+select * from ltp_review
# 2021-11-04 09:04:28.194401
+exit
# 2021-11-04 09:08:57.016999
+select * from certification_extension_scantronexamanswer
# 2021-11-04 09:43:57.969078
+exit
# 2021-11-04 09:44:05.606720
+select * from certification_extension_billableevent
# 2021-11-05 08:30:01.436790
+exit
# 2021-11-05 08:30:07.209876
+select * from certification_extension_billableevent
# 2021-11-05 08:35:41.072042
+\d certification_extension_billableevent
# 2021-11-05 08:36:23.963944
+select * from pg_catalog.pg_constraint
# 2021-11-05 08:36:44.210891
+select * from pg_catalog.pg_constraint where conname like '%bill%'
# 2021-11-05 08:47:47.057196
+exit
# 2021-11-05 08:50:22.987019
+ls
# 2021-11-05 08:50:33.972312
+select * from certification_extension_billableevent
# 2021-11-05 08:57:05.579219
+exit
# 2021-11-05 08:57:31.501150
+select * from certification_extension_billableevent
# 2021-11-05 08:57:37.234308
+\d certification_extension_billableevent
# 2021-11-05 08:59:22.255574
+select * from certification_extension_billableevent
# 2021-11-08 08:55:16.125981
+ls
# 2021-11-08 08:55:29.765641
+exit
# 2021-11-08 10:22:28.029804
+select * from certification_extension_billableevent
# 2021-11-08 10:28:19.489904
+\d certification_extension_billableevent
# 2021-11-08 10:36:22.695610
+drop table certification_extension_billableevent, certification_extension_scantronexam, certification_extension_scantronexamanswer, certification_extension_scantronprofile
# 2021-11-08 10:37:15.099372
+select * from certification_extension_scantronprofile
# 2021-11-08 10:37:38.848256
+select * from certification_extension_billableevent
# 2021-11-08 10:37:42.416874
+drop table certification_extension_billableevent, certification_extension_scantronexam, certification_extension_scantronexamanswer, certification_extension_scantronprofile
# 2021-11-08 10:37:52.495003
+drop table certification_extension_billableevent, certification_extension_scantronexamanswer, certification_extension_scantronprofile
# 2021-11-08 10:38:03.817568
+drop table certification_extension_billableevent
# 2021-11-08 10:38:18.116473
+drop table certification_extension_scantronprofile
# 2021-11-08 10:40:15.104535
+\d certification_extension_billableevent
# 2021-11-08 10:40:55.516563
+select * from certification_extension_billableevent
# 2021-11-08 10:46:04.242158
+\d certification_extension_billableevent
# 2021-11-08 10:52:13.748194
+select * from certification_extension_billableevent
# 2021-11-08 11:02:58.252424
+ls
# 2021-11-08 11:03:16.658752
+exit
# 2021-11-08 13:34:30.176018
+select * from djangoreact_movie
# 2021-11-08 13:34:32.634956
+exit
# 2021-11-08 13:37:41.584063
+select * from djangoreact_movie
# 2021-11-08 13:37:50.055166
+exit
# 2021-11-08 14:08:23.767897
+\d certification_extension_billableevent
# 2021-11-08 14:28:04.900736
+ls
# 2021-11-08 14:29:57.707462
+\d certification_extension_billableevent
# 2021-11-08 14:34:59.792969
+select * from certification_extension_billableevent
# 2021-11-08 14:35:10.315880
+drop table certification_extension_billableevent
# 2021-11-08 14:35:15.716353
+select * from certification_extension_billableevent
# 2021-11-08 14:40:11.864329
+exit
# 2021-11-09 14:58:57.955186
+\d certification_extension_billableevent
# 2021-11-09 14:59:00.885634
+ls
# 2021-11-09 14:59:03.291155
+select * from certification_extension_billableevent
# 2021-11-09 14:59:47.497440
+\d
# 2021-11-09 14:59:52.161382
+\d certification_extension_billableevent
# 2021-11-10 13:49:15.039603
+exit
# 2021-11-10 13:49:36.219730
+select * from certification_extension_scantrontransaction
# 2021-11-10 13:49:43.652313
+select * from certification_extension_scantronprofile
# 2021-11-11 08:22:17.085418
+select * from certification_extension_scantrontransaction
# 2021-11-11 08:38:42.461534
+select * from certification_extension_scantronpackage
# 2021-11-11 13:07:49.516035
+exit
# 2021-11-11 14:13:10.725821
+select * from certification_extension_scantronexamregistration
# 2021-11-12 08:47:02.196995
+exit
# 2021-11-12 08:47:20.500881
+select * from certification_extension_scantronexamregistration
# 2021-11-12 14:22:56.844317
+select * from certification_extension_scantronexamregistration \
# 2021-11-12 14:22:58.467115
+select * from certification_extension_scantronexamregistration
# 2021-11-15 16:11:38.640681
+drop table certification_extension_scantronexamregistration
# 2021-11-15 16:37:48.029576
+exit
# 2021-11-15 16:39:27.907573
+select * from certification_extension_scantronexamregistration
# 2021-11-16 14:19:11.458256
+select * from certification_extension_scantronexam
# 2021-11-16 15:05:46.680430
+select * from certification_extension_scantronexamregistration
# 2021-11-16 15:32:42.797692
+exit
# 2021-11-16 15:32:53.521020
+select * from certification_extension_scantronexamregistration
# 2021-11-17 08:12:01.526134
+exit
# 2021-11-17 08:12:10.390392
+select * from certification_extension_scantronexamregistration
# 2021-11-17 14:40:01.409277
+select * from certification_extension_scantronexam
# 2021-11-22 14:36:27.815626
+exit
# 2021-11-22 14:36:39.170186
+select * from certification_extension_scantronexam
# 2021-11-22 14:36:50.468194
+select * from certification_extension_scantronexamregistration
# 2021-11-22 15:01:49.132600
+select * from certification_extension_scantronprofile
# 2021-11-23 15:18:49.040372
+select * from certification_extension_scantronexam
# 2021-11-23 15:31:56.880615
+select * from certification_extension_scantronexamanswer
# 2021-11-23 15:32:05.321218
+select * from certification_extension_scantronexam
# 2021-11-23 15:39:30.473714
+select * from certification_extension_scantronexamanswer
# 2021-11-23 15:39:38.629217
+select * from certification_extension_scantronexamlevel
# 2021-11-23 15:41:22.760906
+exit
# 2021-11-29 10:42:15.553022
+select * from certification_extension_scantronexamregistration
# 2021-11-29 13:23:37.532740
+truncate table certification_extension_scantronexamregistration
# 2021-11-29 13:23:40.207615
+select * from certification_extension_scantronexamregistration
# 2021-11-29 14:04:51.944136
+\d certification_extension_scantronexamregistration
# 2021-11-29 14:05:07.934591
+\d certification_extension_scantronexam
# 2021-11-29 14:17:06.623742
+select * from certification_extension_scantronexamregistration
# 2021-11-29 16:12:05.161018
+truncate table certification_extension_scantronexamregistration
# 2021-11-29 16:12:08.705644
+select * from certification_extension_scantronexamregistration
# 2021-11-29 16:12:57.622225
+truncate table certification_extension_scantronexamregistration
# 2021-11-29 16:13:31.463723
+select * from certification_extension_scantronexamregistration
# 2021-12-01 08:39:46.312939
+truncate table certification_extension_scantronexamregistration
# 2021-12-01 08:39:57.300471
+select * from certification_extension_scantronexamregistration
# 2021-12-01 08:41:12.278551
+truncate table certification_extension_scantronexamregistration
# 2021-12-01 08:41:40.237812
+select * from certification_extension_scantronexamregistration
# 2021-12-01 08:43:35.020354
+truncate table certification_extension_scantronexamregistration
# 2021-12-01 08:44:17.249536
+select * from certification_extension_scantronexamregistration
# 2021-12-01 08:45:21.998856
+truncate table certification_extension_scantronexamregistration
# 2021-12-01 08:45:50.216408
+select * from certification_extension_scantronexamregistration
# 2021-12-01 08:54:48.865348
+truncate table certification_extension_scantronexamregistration
# 2021-12-01 08:55:40.034021
+select * from certification_extension_scantronexamregistration
# 2021-12-01 14:16:59.365229
+truncate table certification_extension_scantronexamregistration
# 2021-12-01 14:18:14.151915
+select * from certification_extension_scantronexamregistration
# 2021-12-07 07:13:06.768518
+truncate table certification_extension_scantronexamregistration
# 2021-12-07 07:13:21.962859
+select * from certification_extension_scantronexam
# 2021-12-07 07:13:26.846483
+select * from certification_extension_scantronexamanswer
# 2021-12-07 07:13:33.378609
+select * from certification_extension_scantronexamlevel
# 2021-12-07 07:14:29.347559
+select * from certification_extension_scantronexam
# 2021-12-07 07:19:28.868610
+select * from certification_extension_scantronexamregistration
# 2021-12-07 07:19:32.153797
+truncate table certification_extension_scantronexamregistration
# 2021-12-07 07:21:53.470862
+select * from certification_extension_scantronexamregistration
# 2021-12-07 08:09:19.970499
+truncate table certification_extension_scantronexamregistration
# 2021-12-07 08:13:09.186000
+select * from certification_extension_scantronexamregistration
# 2021-12-07 08:15:04.357926
+truncate table certification_extension_scantronexamregistration
# 2021-12-07 08:15:08.053537
+select * from certification_extension_scantronexamregistration
# 2021-12-07 08:17:11.802353
+truncate table certification_extension_scantronexamregistration
# 2021-12-07 08:19:36.630480
+select * from certification_extension_scantronexamregistration
# 2021-12-07 08:20:43.278727
+truncate table certification_extension_scantronexamregistration
# 2021-12-07 08:20:49.803360
+select * from certification_extension_scantronexamregistration
# 2021-12-07 08:45:35.478234
+select * from certification_extension_scantronexam
# 2021-12-07 08:50:38.449185
+select * from profiles_profile
# 2021-12-07 08:53:00.445051
+select * from certification_extension_scantronexam
# 2021-12-07 08:53:39.213491
+select * from profiles_profile
# 2021-12-07 14:16:11.396288
+select * from certification_extension_scantronprofile
# 2021-12-07 14:18:38.908963
+select * from certification_extension_scantronexam
# 2021-12-07 14:21:27.781969
+select * from certification_extension_scantronexamanswer
# 2021-12-07 14:21:45.014891
+select * from certification_extension_scantronexamlevel
# 2021-12-09 16:14:46.236789
+select * from certification_extension_scantronexam
# 2021-12-09 16:15:42.700655
+select * from certification_extension_scantronexamregistration
# 2021-12-10 07:55:31.941680
+select * from certification_extension_scantronexamanswer
# 2021-12-10 08:17:50.878321
+select * from certification_extension_scantronprofile
# 2021-12-10 15:58:26.605262
+select * from certifications_requirementfield
# 2021-12-13 10:21:28.707622
+select * from certifications_requirementfieldentry
# 2021-12-13 16:25:29.274501
+exit
# 2021-12-13 16:25:42.398764
+select * from certifications_certification
# 2021-12-14 13:30:06.231165
+exit
# 2021-12-14 13:30:15.308107
+select * from certification_extension_scantronexam
# 2021-12-15 17:02:35.865043
+exit
# 2021-12-15 17:03:17.671736
+select * from certification_extension_scantronexam
# 2021-12-15 17:03:42.085646
+select * from requirementfieldentry
# 2021-12-15 17:03:56.133966
+exit
# 2021-12-15 17:08:57.138321
+select * from certifications_requirementfieldentry
# 2021-12-15 17:09:07.902527
+select * from certifications_requirementfield
# 2021-12-15 17:09:35.065418
+select * from certifications_certification
# 2021-12-15 17:09:54.405378
+select * from certifications_requirementfieldentry
# 2021-12-15 17:09:57.711258
+select * from certifications_requirementfield
# 2021-12-15 17:15:33.728896
+select * from certifications_requirementfieldentry
# 2021-12-17 11:28:51.194391
+ls
# 2021-12-17 11:28:58.214980
+select * from certification_extension_scantronexam
# 2021-12-17 15:09:20.578076
+ps -aux
# 2021-12-17 15:09:25.070835
+ps -a
# 2021-12-17 15:09:26.166188
+ps
# 2021-12-17 15:09:29.254379
+exit
# 2021-12-21 15:47:40.521963
+select * from certifications_requirementfieldentry
# 2021-12-21 15:47:44.202826
+select * from certifications_requirementfield
# 2021-12-30 11:24:34.538064
+ls
# 2021-12-30 11:25:22.982902
+select * from certification_extension_scantronprofile
# 2022-01-05 10:20:01.645994
+select * from certification_extension_scantronexamregistration
# 2022-01-05 10:40:56.289489
+truncate table certification_extension_scantronexamregistration
# 2022-01-05 10:55:03.875392
+select * from certification_extension_scantronexamregistration
# 2022-01-05 15:25:20.122846
+select * from certification_extension_scantronprofile
# 2022-01-06 13:13:19.665214
+select * from certification_extension_scantronexamregistration
# 2022-01-24 14:00:49.935696
+select * from fobi_formelement
# 2022-01-31 11:50:07.078758
+select * from certification_extension_scantronexam
# 2022-02-11 07:09:46.243445
+select * from fobi_formelement
# 2022-02-11 07:09:53.083344
+select * from fobi_formentry
# 2022-02-11 07:10:18.622344
+select * from fobi_formelemententry
# 2022-02-11 07:11:05.771581
+select * from fobi_formfieldsetentry
# 2022-02-11 07:13:31.844075
+select from forms_form
# 2022-02-11 07:13:53.841194
+select * from fobi_formelement
# 2022-02-11 07:13:58.181994
+select * from fobi_formelemententry
# 2022-02-11 07:14:24.272535
+select * from fobi_formhandler
# 2022-02-11 07:14:40.327292
+select * from fobi_formhandlerentry
# 2022-02-11 07:15:22.478427
+select * from fobi_formwizardhandlerentry
# 2022-02-11 07:25:34.307384
+select * from forms_form
# 2022-02-11 07:25:51.143820
+select * from forms_formentry
# 2022-02-11 07:30:34.811475
+select * from db_store_savedformdataentry
# 2022-02-11 07:30:58.079102
+select * from db_store_savedformwizarddataentry
# 2022-02-11 07:31:00.508138
+select * from db_store_savedformdataentry
# 2022-02-16 15:30:29.948513
+exit
# 2022-03-09 13:14:01.907032
+select * from certification_extension_scantronexamregistration
# 2022-03-09 13:14:30.301044
+select * from certification_extension_scantronprofile
# 2022-03-09 13:14:33.244161
+select * from certification_extension_scantronexamregistration
# 2022-03-24 10:10:38.962668
+select schema_name from information_schema.schemata
# 2022-03-24 10:11:26.009227
+create role sql-dash-read-only
# 2022-03-24 10:11:36.718076
+create role sql_dash_read_only
# 2022-03-24 10:14:35.595372
+GRANT SELECT(
+ id, last_login, is_superuser, username, first_name,
+ last_name, email, is_staff, is_active, date_joined
+) ON auth_user TO sql_dash_read_only;
+
# 2022-03-24 10:14:46.785992
+select * from auth_user
# 2022-03-24 10:23:09.868794
+create role sql_dash_read_only
# 2022-03-24 10:23:12.254707
+GRANT SELECT(
+ id, last_login, is_superuser, username, first_name,
+ last_name, email, is_staff, is_active, date_joined
+) ON auth_user TO sql_dash_read_only;
+
# 2022-03-24 10:24:22.771974
+exit
# 2022-03-24 10:25:41.273222
+select * from auth_user
# 2022-03-24 10:48:13.003214
+exit
# 2022-03-24 10:48:22.218745
+select * from auth_user
# 2022-03-24 11:46:16.958633
+select * from information_schema.enabled_roles
# 2022-03-24 11:46:33.638457
+exit
# 2022-03-24 11:56:46.097536
+alter role sql_dash_read_only with login
# 2022-03-24 13:04:24.015395
+exit
# 2022-03-24 13:04:36.737679
+select * from auth_user
# 2022-03-24 13:04:43.899639
+exit
# 2022-03-24 13:04:52.714487
+ls
# 2022-03-24 14:14:27.428162
+select * from information_schema.enabled_roles
# 2022-03-24 14:24:14.612117
+exit
# 2022-03-30 15:18:04.392068
+select * from information_schema.tables
# 2022-03-30 15:19:05.022931
+select * from information_schema.enabled_roles
# 2022-03-30 15:19:20.653131
+exit
# 2022-04-05 15:36:42.358833
+select * from information_schema.enabled_roles
# 2022-04-05 15:39:59.420038
+exit
# 2022-04-05 15:43:09.917492
+select * from information_schema.applicable_roles
# 2022-04-05 15:43:14.761171
+select * from information_schema.enabled_roles
# 2022-04-05 15:43:28.637067
+select * from information_schema.role_column_grants
# 2022-04-05 15:46:49.182441
+select * from pg_roles
# 2022-04-05 15:47:01.880391
+create role this
# 2022-04-05 15:47:06.914437
+select * from pg_roles
# 2022-04-05 15:55:22.911753
+exit
# 2022-04-05 15:56:42.883276
+select * from pg_roles
# 2022-04-05 16:00:05.184218
+select * from information_schema.enabled_roles
# 2022-04-05 16:04:47.868954
+exit
# 2022-04-05 16:11:37.746797
+select * from information_schema.enabled_roles
# 2022-04-05 16:11:40.153145
+exit
# 2022-04-05 16:42:57.431441
+select * from information_schema.enabled_roles
# 2022-04-06 10:27:07.755205
+exit
# 2022-04-06 10:27:15.531539
+ls
# 2022-04-06 10:27:33.436949
+select * from information_schema.enabled_roles
# 2022-04-06 10:30:34.001979
+exit
# 2022-04-06 14:17:08.832089
+select * from information_schema.enabled_roles
# 2022-04-06 14:17:29.757111
+select * from courses
# 2022-04-06 14:50:33.499072
+select * from tenants
# 2022-04-06 14:51:10.114918
+select name, refund_verbiage from orders
# 2022-04-06 14:51:14.135476
+select name, refund_verbiage from tenants
# 2022-04-06 14:51:18.634647
+select name, refund_verbage from tenants
# 2022-04-06 14:52:46.343070
+exit
# 2022-04-06 14:54:43.219419
+select name, refund_verbage from tenants
# 2022-04-06 15:13:11.245542
+exit
# 2022-04-06 15:13:50.818159
+select * from tenants
# 2022-04-06 15:15:03.995255
+select email_enrolment from tenants
# 2022-04-08 10:24:00.686800
+select table_name from information_schema.tables
# 2022-04-08 10:31:38.884060
+exit
# 2022-04-08 10:33:44.979995
+select table_name from information_schema.tables
# 2022-04-08 10:33:53.742598
+select table_name from information_schema.tables \copy
# 2022-04-08 10:34:14.788905
+\copy select table_name from information_schema.tables
# 2022-04-08 10:34:55.363641
+\e select table_name from information_schema.tables
# 2022-04-08 10:35:41.251830
+\ef select table_name from information_schema.tables
# 2022-04-08 10:35:54.546118
+\e select table_name from information_schema.tables
# 2022-04-08 10:37:08.005728
+\o ~/tendenci_tables.txt select table_name from information_schema.tables
# 2022-04-08 10:37:42.832913
+select table_name from information_schema.tables \o ~/tendenci_tables.txt
# 2022-04-08 10:38:34.345452
+select table_name from information_schema.tables
# 2022-04-08 10:38:43.673836
+\o ~/tendenci_tables.txt
# 2022-04-08 10:38:58.959431
+select table_name from information_schema.tables
# 2022-04-08 10:40:52.141272
+select * from user_groups_group
# 2022-04-08 10:41:11.272873
+\q
# 2022-04-08 10:41:21.275607
+select * from user_groups_group
# 2022-04-08 10:41:38.941669
+select * from user_groups_group_permissions
# 2022-04-08 10:42:21.369767
+select * from user_groups_groupmembership
# 2022-04-08 10:55:51.288972
+select * from information_schema.enabled_roles
# 2022-04-08 10:56:29.687980
+grant select * on certification_certifications to this
# 2022-04-08 10:56:36.809862
+grant select on certification_certifications to this
# 2022-04-08 10:56:59.822134
+select * from certifications_certification
# 2022-04-08 10:57:11.321845
+grant select on certifications_certification to this
# 2022-04-08 11:11:57.673581
+select 1 from pg_roles where rolname="None"
# 2022-04-08 11:12:00.812261
+select 1 from pg_roles where rolname=None
# 2022-04-08 11:12:28.962316
+select 1 from pg_roles
# 2022-04-08 11:12:34.296932
+select 1 from pg_roles where rolname="none"
# 2022-04-08 11:12:38.211024
+select 1 from pg_roles where rolname="this"
# 2022-04-08 11:12:59.872743
+select * from pg_roles
# 2022-04-08 11:13:14.252184
+select * from pg_roles where rolname="this"
# 2022-04-08 11:13:42.719117
+select 1 from pg_roles where rolname="this"
# 2022-04-08 11:13:57.838352
+select 1 from pg_roles where rolname='this'
# 2022-04-08 11:14:04.924369
+select 1 from pg_roles where rolname='none'
# 2022-04-08 11:14:09.114760
+select 1 from pg_roles where rolname=None
# 2022-04-08 11:14:11.228555
+select 1 from pg_roles where rolname=none
# 2022-04-08 11:14:16.658298
+select 1 from pg_roles where rolname='None'
# 2022-04-12 10:51:27.252536
+select * information_schema.tables
# 2022-04-12 10:51:29.976716
+select * information_schema.table
# 2022-04-12 10:51:43.142689
+select * information_schema
# 2022-04-12 10:51:49.621462
+select table_name from information_schema.tables
# 2022-04-12 10:52:04.514670
+select table_name from information_schema.tables where table_name like '%profile%'
# 2022-04-12 10:55:39.769387
+select * from V_payment_details
# 2022-04-13 14:49:25.725014
+select * from quiz_attempts where id = 1292
# 2022-04-13 15:08:56.971210
+select * from courses
# 2022-04-15 13:31:23.646508
+exit
# 2022-04-15 13:37:48.417183
+select * from pg_roles
# 2022-04-15 13:38:29.251900
+exit
# 2022-04-21 14:41:54.525179
+select * from tenant
# 2022-04-21 14:41:56.033363
+select * from tenants
# 2022-04-21 14:42:18.903086
+select * from courses
# 2022-04-21 14:42:49.776872
+select * from tenants
# 2022-04-21 17:09:58.241955
+create extension dblink;
# 2022-04-21 17:10:11.754499
+select * from pg_roles
# 2022-04-21 17:11:32.208122
+exit
# 2022-04-21 17:12:25.900187
+create extension dblink;
# 2022-04-21 17:12:44.933165
+exit
# 2022-04-22 11:25:55.592489
+select * from tenants
# 2022-04-22 11:32:09.297783
+select column_name from information_schema.columns where table_name like '%quiz_attempts%'
# 2022-04-22 11:40:07.844070
+\d+ quiz_attempts
# 2022-04-22 14:04:53.413258
+\d+ tenants
# 2022-04-22 14:07:47.181818
+select top 1 from tenants
# 2022-04-22 14:07:52.225077
+select 1 from tenants
# 2022-04-22 14:08:00.359402
+select * from tenants
# 2022-04-22 14:09:16.681989
+update tenants set reporting_groups = { "group_1", "group_2" } where id=2
# 2022-04-22 14:10:05.214611
+update tenants set reporting_groups = '{ group_1, group_2 }' where id=2
# 2022-04-22 14:10:11.372197
+select * from tenants
# 2022-04-22 14:31:43.596069
+select name from tenants
# 2022-04-22 14:34:52.792907
+select table_name from information_schema.tables where table_name like 'courses'
# 2022-04-22 14:35:03.864021
+select column from information_schema.tables where table_name like 'courses'
# 2022-04-22 14:35:07.607673
+select column_name from information_schema.tables where table_name like 'courses'
# 2022-04-22 14:35:14.887183
+select column_name from information_schema.columns where table_name like 'courses'
# 2022-04-22 14:35:26.409623
+select * from courses
# 2022-04-22 14:41:51.506048
+select * from tenants
# 2022-04-22 14:42:19.876518
+select name from tenants
# 2022-04-22 14:42:51.195560
+select name, id from tenants
# 2022-04-22 14:43:08.091264
+update tenants set reporting_groups = '{ group_1, group_2 }' where id=1
# 2022-04-22 14:43:18.621067
+select name, reporting_groups from tenants
# 2022-04-22 14:50:36.832027
+select * from courses where name like 'test course'
# 2022-04-22 14:53:34.448191
+update courses set reporting_group = 'group_1' where name='test course'
# 2022-04-22 14:53:37.900208
+select * from courses where name like 'test course'
# 2022-04-22 15:14:01.638320
+select reporting_groups from tenants
# 2022-04-22 16:10:08.697978
+select * from courses
# 2022-04-22 16:11:01.301533
+select * from quiz_attempts where batch_date='2022-04-22'
# 2022-04-22 16:12:07.717859
+select * from courses
# 2022-04-22 16:13:01.799313
+select * from courses where moodle_course_id in (2, 4, 6)
# 2022-04-22 16:13:42.915073
+update courses set reporting_group='group_1' where moodle_course_id = 1
# 2022-04-22 16:13:51.278307
+update courses set reporting_group='group_2' where moodle_course_id = 2
# 2022-04-22 16:13:55.915895
+select * from courses where moodle_course_id in (2, 4, 6)
# 2022-04-22 16:14:31.023740
+update courses set reporting_group='group_1' where moodle_course_id = 4
# 2022-04-22 16:14:37.248352
+select * from courses
# 2022-04-22 16:14:41.278395
+select * from courses where moodle_course_id in (2, 4, 6)
# 2022-04-22 16:16:22.537844
+select * from courses where reporting_group is Null
# 2022-04-22 16:16:36.743912
+select * from courses where reporting_group
# 2022-04-22 16:16:46.014599
+select * from courses
# 2022-04-22 16:16:49.929742
+select * from courses where reporting_group is Null
# 2022-04-22 16:23:26.992007
+select given_name as "first" , family_name as "last" , username as "username", email , name , e.customer_provided_identifier altId, to_timestamp(qa.attempt_date) "attempt date", score, score, qa.attempt_number "attempt number", e2.social_security "social security" , concat(e2.mailing_address, ' ', e2.mailing_address_2, ' ',e2.city, ' ',e2.state, ' ', e2.zipcode) address , qa.moodle_id "moodle_id" from quiz_attempts qa
+ join courses c
+ on qa.moodle_course_id = c.moodle_course_id
+ join enrolments e
+ on qa.enrolment_id = e.id
+ join enrolees e2
+ on e.enrolee_id = e2.id
+ join orders o
+ on o.id = e.order_id
+ where qa.batch_date = %s
+ and qa.tenant_id = %s
+ and c.tenant_id = %s
+ and qa.status != %s
+ and c.reporting_group = 'group_1'
# 2022-04-22 16:23:43.549045
+select * from courses where reporting_group = 'group_1'
# 2022-04-22 16:24:15.142148
+select given_name as "first" , family_name as "last" , username as "username", email , name , e.customer_provided_identifier altId, to_timestamp(qa.attempt_date) "attempt date", score, score, qa.attempt_number "attempt number", e2.social_security "social security" , concat(e2.mailing_address, ' ', e2.mailing_address_2, ' ',e2.city, ' ',e2.state, ' ', e2.zipcode) address , qa.moodle_id "moodle_id" from quiz_attempts qa
+ join courses c
+ on qa.moodle_course_id = c.moodle_course_id
+ join enrolments e
+ on qa.enrolment_id = e.id
+ join enrolees e2
+ on e.enrolee_id = e2.id
+ join orders o
+ on o.id = e.order_id
+ where qa.batch_date = '2022-04-22'
+ and qa.tenant_id = 1
+ and c.reporting_group = 'group_1'
# 2022-04-22 16:24:29.881319
+select given_name as "first" , family_name as "last" , username as "username", email , name , e.customer_provided_identifier altId, to_timestamp(qa.attempt_date) "attempt date", score, score, qa.attempt_number "attempt number", e2.social_security "social security" , concat(e2.mailing_address, ' ', e2.mailing_address_2, ' ',e2.city, ' ',e2.state, ' ', e2.zipcode) address , qa.moodle_id "moodle_id" from quiz_attempts qa
+ join courses c
+ on qa.moodle_course_id = c.moodle_course_id
+ join enrolments e
+ on qa.enrolment_id = e.id
+ join enrolees e2
+ on e.enrolee_id = e2.id
+ join orders o
+ on o.id = e.order_id
+ where qa.batch_date = '2022-04-22'
+ and qa.tenant_id = 1
+ and c.reporting_group = 'group_2'
# 2022-04-22 16:24:40.682859
+select given_name as "first" , family_name as "last" , username as "username", email , name , e.customer_provided_identifier altId, to_timestamp(qa.attempt_date) "attempt date", score, score, qa.attempt_number "attempt number", e2.social_security "social security" , concat(e2.mailing_address, ' ', e2.mailing_address_2, ' ',e2.city, ' ',e2.state, ' ', e2.zipcode) address , qa.moodle_id "moodle_id" from quiz_attempts qa
+ join courses c
+ on qa.moodle_course_id = c.moodle_course_id
+ join enrolments e
+ on qa.enrolment_id = e.id
+ join enrolees e2
+ on e.enrolee_id = e2.id
+ join orders o
+ on o.id = e.order_id
+ where qa.batch_date = '2022-04-22'
+ and qa.tenant_id = 2
+ and c.reporting_group = 'group_2'
# 2022-04-22 16:25:08.633149
+select given_name as "first" , family_name as "last" , username as "username", email , name , e.customer_provided_identifier altId, to_timestamp(qa.attempt_date) "attempt date", score, score, qa.attempt_number "attempt number", e2.social_security "social security" , concat(e2.mailing_address, ' ', e2.mailing_address_2, ' ',e2.city, ' ',e2.state, ' ', e2.zipcode) address , qa.moodle_id "moodle_id" from quiz_attempts qa
+ join courses c
+ on qa.moodle_course_id = c.moodle_course_id
+ join enrolments e
+ on qa.enrolment_id = e.id
+ join enrolees e2
+ on e.enrolee_id = e2.id
+ join orders o
+ on o.id = e.order_id
+ where qa.batch_date = '2022-04-22'
+ and qa.tenant_id = 4
+ and c.reporting_group = 'group_2'
# 2022-04-22 16:25:11.310696
+select given_name as "first" , family_name as "last" , username as "username", email , name , e.customer_provided_identifier altId, to_timestamp(qa.attempt_date) "attempt date", score, score, qa.attempt_number "attempt number", e2.social_security "social security" , concat(e2.mailing_address, ' ', e2.mailing_address_2, ' ',e2.city, ' ',e2.state, ' ', e2.zipcode) address , qa.moodle_id "moodle_id" from quiz_attempts qa
+ join courses c
+ on qa.moodle_course_id = c.moodle_course_id
+ join enrolments e
+ on qa.enrolment_id = e.id
+ join enrolees e2
+ on e.enrolee_id = e2.id
+ join orders o
+ on o.id = e.order_id
+ where qa.batch_date = '2022-04-22'
+ and qa.tenant_id = 6
+ and c.reporting_group = 'group_2'
# 2022-04-22 16:25:14.450909
+select given_name as "first" , family_name as "last" , username as "username", email , name , e.customer_provided_identifier altId, to_timestamp(qa.attempt_date) "attempt date", score, score, qa.attempt_number "attempt number", e2.social_security "social security" , concat(e2.mailing_address, ' ', e2.mailing_address_2, ' ',e2.city, ' ',e2.state, ' ', e2.zipcode) address , qa.moodle_id "moodle_id" from quiz_attempts qa
+ join courses c
+ on qa.moodle_course_id = c.moodle_course_id
+ join enrolments e
+ on qa.enrolment_id = e.id
+ join enrolees e2
+ on e.enrolee_id = e2.id
+ join orders o
+ on o.id = e.order_id
+ where qa.batch_date = '2022-04-22'
+ and c.reporting_group = 'group_2'
# 2022-04-22 16:25:36.187524
+select given_name as "first" , family_name as "last" , username as "username", email , name , e.customer_provided_identifier altId, to_timestamp(qa.attempt_date) "attempt date", score, score, qa.attempt_number "attempt number", e2.social_security "social security" , concat(e2.mailing_address, ' ', e2.mailing_address_2, ' ',e2.city, ' ',e2.state, ' ', e2.zipcode) address , qa.moodle_id "moodle_id" from quiz_attempts qa
+ join courses c
+ on qa.moodle_course_id = c.moodle_course_id
+ join enrolments e
+ on qa.enrolment_id = e.id
+ join enrolees e2
+ on e.enrolee_id = e2.id
+ join orders o
+ on o.id = e.order_id
+ where c.reporting_group = 'group_2'
# 2022-04-26 16:08:04.390304
+select * from courses where reporting_group = 'group_1'
# 2022-04-26 16:08:15.457671
+select given_name as "first" , family_name as "last" , username as "username", email , name , e.customer_provided_identifier altId, to_timestamp(qa.attempt_date) "attempt date", score, score, qa.attempt_number "attempt number", e2.social_security "social security" , concat(e2.mailing_address, ' ', e2.mailing_address_2, ' ',e2.city, ' ',e2.state, ' ', e2.zipcode) address , qa.moodle_id "moodle_id" from quiz_attempts qa
+ join courses c
+ on qa.moodle_course_id = c.moodle_course_id
+ join enrolments e
+ on qa.enrolment_id = e.id
+ join enrolees e2
+ on e.enrolee_id = e2.id
+ join orders o
+ on o.id = e.order_id
+ where c.reporting_group = 'group_2'
# 2022-04-26 16:08:43.363973
+select * from courses
# 2022-04-26 16:08:54.710952
+select id, name, reporting_group from courses
# 2022-04-26 16:13:46.878474
+select * from quiz_attempts where batch_date='2022-04-22'
# 2022-04-27 08:40:32.364436
+ls
# 2022-04-27 08:42:27.090450
+select name, id from tenants
# 2022-04-27 08:43:19.678517
+update tenants set reporting_groups = Null where id=2
# 2022-04-27 08:43:32.229107
+select name, id, reporting_groups from tenants
# 2022-04-27 11:02:30.432988
+select name, id, reporting_group from courses
# 2022-04-27 11:04:28.333200
+select name, id, tenant_id, reporting_group from courses
# 2022-04-27 11:07:27.231222
+select course, id from courses
# 2022-04-27 11:07:41.156213
+select name, id from courses
# 2022-04-27 11:07:50.193373
+select name, id, tenant_id from courses
# 2022-04-27 11:16:48.039365
+select name, id, tenant_id, moodle_course_id from courses
# 2022-04-27 11:17:22.816270
+select name, tenant_id, moodle_course_id from courses
# 2022-04-27 11:17:45.868329
+delete from courses where course_name='big course'
# 2022-04-27 11:17:54.136804
+delete from courses where name='big course'
# 2022-04-27 11:25:20.650676
+select name, tenant_id, moodle_course_id from courses
# 2022-04-27 11:25:35.738927
+select * from courses where moodle_course_id = 36
# 2022-04-27 13:18:44.253773
+delete from courses where name='course with reporting group'
# 2022-04-27 13:20:53.086943
+select * from courses where moodle_course_id = 36
# 2022-04-27 15:01:00.132517
+select * from tenants
# 2022-04-27 15:01:34.775660
+select name, tenant_id, moodle_course_id from courses
# 2022-04-27 15:01:54.539776
+select name, tenant_id, moodle_course_id, reporting_group from courses
# 2022-04-27 16:10:27.502013
+select * from tenants
# 2022-04-27 16:19:12.843297
+select * from courses
# 2022-04-28 11:03:04.638366
+select name, tenant_id, moodle_course_id, reporting_group from courses
# 2022-04-28 11:03:23.363305
+delete from courses where name='big course'
# 2022-04-28 11:05:07.497658
+select name, tenant_id, moodle_course_id, reporting_group from courses
# 2022-04-28 11:21:44.797410
+delete from courses where name='big course'
# 2022-04-28 11:23:11.932702
+select name, tenant_id, moodle_course_id, reporting_group from courses
# 2022-04-28 11:23:16.858023
+delete from courses where name='big course'
# 2022-04-28 11:28:53.017899
+select name, reporting_groups from tenants
# 2022-04-28 11:44:25.117264
+delete from courses where name='big course'
# 2022-04-28 11:45:14.240313
+select name, reporting_groups from tenants
# 2022-04-28 12:06:58.162344
+delete from courses where name='big course'
# 2022-04-28 12:13:04.048113
+select name, reporting_groups from tenants
# 2022-04-28 13:04:05.481549
+delete from courses where name='big course'
# 2022-04-28 13:05:15.835799
+select name, reporting_groups from tenants
# 2022-04-28 13:44:49.912497
+select * from quiz_attempts where batch_date='2022-04-22'
# 2022-04-28 13:45:33.194608
+select * from courses where moodle_course_id in (13, 26, 207)
# 2022-04-28 13:45:41.486576
+select * from courses
# 2022-04-28 13:46:07.152102
+select * from courses where moodle_course_id in (6, 4, 2)
# 2022-04-28 14:08:08.500491
+select name, reporting_groups from tenants
# 2022-04-28 14:10:09.819598
+update tenants set reporting_groups = ['test'] where name = 'dev'
# 2022-04-28 14:11:09.711161
+update tenants set reporting_groups = '{ group_1, group_2 }' where name='dev'
# 2022-04-28 14:11:16.719685
+select name, reporting_groups from tenants
# 2022-04-28 15:06:22.828646
+select * from quiz_attempts where batch_date='2022-04-22'
# 2022-04-28 15:06:55.415041
+select name, reporting_group from courses where moodle_course_id in (2,4,6)
# 2022-04-28 15:07:05.928991
+select name, reporting_group, moodle_course_id from courses where moodle_course_id in (2,4,6)
# 2022-04-28 15:07:15.330078
+select name, reporting_group, moodle_course_id from courses where moodle_course_id in (2,4,6) order by moodle_course_id
# 2022-04-28 15:07:37.951239
+select * from quiz_attempts where batch_date='2022-04-22'
# 2022-04-28 15:08:38.032551
+select given_name as "first" , family_name as "last" , username as "username", email , name , e.customer_provided_identifier altId, to_timestamp(qa.attempt_date) "attempt date", score, score, qa.attempt_number "attempt number", e2.social_security "social security" , concat(e2.mailing_address, ' ', e2.mailing_address_2, ' ',e2.city, ' ',e2.state, ' ', e2.zipcode) address , qa.moodle_id "moodle_id" from quiz_attempts qa
+ join courses c
+ on qa.moodle_course_id = c.moodle_course_id
+ join enrolments e
+ on qa.enrolment_id = e.id
+ join enrolees e2
+ on e.enrolee_id = e2.id
+ join orders o
+ on o.id = e.order_id
# 2022-04-28 15:08:55.942274
+select given_name as "first" , family_name as "last" , username as "username", email , name , e.customer_provided_identifier altId, to_timestamp(qa.attempt_date) "attempt date", score, score, qa.attempt_number "attempt number", e2.social_security "social security" , concat(e2.mailing_address, ' ', e2.mailing_address_2, ' ',e2.city, ' ',e2.state, ' ', e2.zipcode) address , qa.moodle_id "moodle_id" from quiz_attempts qa
+ join courses c
+ on qa.moodle_course_id = c.moodle_course_id
+ join enrolments e
+ on qa.enrolment_id = e.id
+ join enrolees e2
+ on e.enrolee_id = e2.id
+ join orders o
+ on o.id = e.order_id
# 2022-04-28 15:09:04.022099
+select given_name as "first" , family_name as "last" , username as "username", email , name , e.customer_provided_identifier altId, to_timestamp(qa.attempt_date) "attempt date", score, score, qa.attempt_number "attempt number", e2.social_security "social security" , concat(e2.mailing_address, ' ', e2.mailing_address_2, ' ',e2.city, ' ',e2.state, ' ', e2.zipcode) address , qa.moodle_id "moodle_id" from quiz_attempts qa
+ join courses c
+ on qa.moodle_course_id = c.moodle_course_id
+ join enrolments e
+ on qa.enrolment_id = e.id
+ join enrolees e2
+ on e.enrolee_id = e2.id
+ join orders o
+ on o.id = e.order_id where
# 2022-04-28 15:09:44.522907
+select given_name as "first" , family_name as "last" , username as "username", email , name , e.customer_provided_identifier altId, to_timestamp(qa.attempt_date) "attempt date", score, score, qa.attempt_number "attempt number", e2.social_security "social security" , concat(e2.mailing_address, ' ', e2.mailing_address_2, ' ',e2.city, ' ',e2.state, ' ', e2.zipcode) address , qa.moodle_id "moodle_id" from quiz_attempts qa
+ join courses c
+ on qa.moodle_course_id = c.moodle_course_id
+ join enrolments e
+ on qa.enrolment_id = e.id
+ join enrolees e2
+ on e.enrolee_id = e2.id
+ join orders o
+ on o.id = e.order_id
# 2022-04-28 15:10:13.469081
+select given_name as "first" , family_name as "last" , username as "username", email , name , e.customer_provided_identifier altId, to_timestamp(qa.attempt_date) "attempt date", score, score, qa.attempt_number "attempt number", e2.social_security "social security" , concat(e2.mailing_address, ' ', e2.mailing_address_2, ' ',e2.city, ' ',e2.state, ' ', e2.zipcode) address , qa.moodle_id "moodle_id" from quiz_attempts qa
+ join courses c
+ on qa.moodle_course_id = c.moodle_course_id
+ join enrolments e
+ on qa.enrolment_id = e.id
+ join enrolees e2
+ on e.enrolee_id = e2.id
+ join orders o
+ on o.id = e.order_id where qa.attempt_date = '2022-04-22'
# 2022-04-28 15:10:40.837611
+select given_name as "first" , family_name as "last" , username as "username", email , name , e.customer_provided_identifier altId, to_timestamp(qa.attempt_date) "attempt date", score, score, qa.attempt_number "attempt number", e2.social_security "social security" , concat(e2.mailing_address, ' ', e2.mailing_address_2, ' ',e2.city, ' ',e2.state, ' ', e2.zipcode) address , qa.moodle_id "moodle_id" from quiz_attempts qa
+ join courses c
+ on qa.moodle_course_id = c.moodle_course_id
+ join enrolments e
+ on qa.enrolment_id = e.id
+ join enrolees e2
+ on e.enrolee_id = e2.id
+ join orders o
+ on o.id = e.order_id where qa.attempt_date = date('2022-04-22')
# 2022-04-28 15:10:51.017197
+select * from quiz_attempts where batch_date='2022-04-22'
# 2022-04-28 15:11:07.196746
+select given_name as "first" , family_name as "last" , username as "username", email , name , e.customer_provided_identifier altId, to_timestamp(qa.attempt_date) "attempt date", score, score, qa.attempt_number "attempt number", e2.social_security "social security" , concat(e2.mailing_address, ' ', e2.mailing_address_2, ' ',e2.city, ' ',e2.state, ' ', e2.zipcode) address , qa.moodle_id "moodle_id" from quiz_attempts qa
+ join courses c
+ on qa.moodle_course_id = c.moodle_course_id
+ join enrolments e
+ on qa.enrolment_id = e.id
+ join enrolees e2
+ on e.enrolee_id = e2.id
+ join orders o
+ on o.id = e.order_id where qa.batch_date= '2022-04-22'
# 2022-04-28 15:11:28.449094
+select name, reporting_group, moodle_course_id from courses where moodle_course_id in (2,4,6) order by moodle_course_id
# 2022-04-28 15:11:39.755298
+select given_name as "first" , family_name as "last" , username as "username", email , name , e.customer_provided_identifier altId, to_timestamp(qa.attempt_date) "attempt date", score, score, qa.attempt_number "attempt number", e2.social_security "social security" , concat(e2.mailing_address, ' ', e2.mailing_address_2, ' ',e2.city, ' ',e2.state, ' ', e2.zipcode) address , qa.moodle_id "moodle_id" from quiz_attempts qa
+ join courses c
+ on qa.moodle_course_id = c.moodle_course_id
+ join enrolments e
+ on qa.enrolment_id = e.id
+ join enrolees e2
+ on e.enrolee_id = e2.id
+ join orders o
+ on o.id = e.order_id where qa.batch_date= '2022-04-22'
# 2022-04-28 15:18:36.204187
+select name, reporting_group, moodle_course_id from courses where moodle_course_id in (2,4,6) order by moodle_course_id
# 2022-04-28 15:18:46.049292
+select * from quiz_attempts where batch_date='2022-04-22'
# 2022-04-28 15:21:00.206485
+select name, reporting_group, moodle_course_id from courses where moodle_course_id in (2,4,6) order by moodle_course_id
# 2022-04-28 15:21:10.726611
+select given_name as "first" , family_name as "last" , username as "username", email , name , e.customer_provided_identifier altId, to_timestamp(qa.attempt_date) "attempt date", score, score, qa.attempt_number "attempt number", e2.social_security "social security" , concat(e2.mailing_address, ' ', e2.mailing_address_2, ' ',e2.city, ' ',e2.state, ' ', e2.zipcode) address , qa.moodle_id "moodle_id" from quiz_attempts qa
+ join courses c
+ on qa.moodle_course_id = c.moodle_course_id
+ join enrolments e
+ on qa.enrolment_id = e.id
+ join enrolees e2
+ on e.enrolee_id = e2.id
+ join orders o
+ on o.id = e.order_id where qa.batch_date= '2022-04-22'
# 2022-04-28 15:21:21.666118
+select name, reporting_group, moodle_course_id from courses where moodle_course_id in (2,4,6) order by moodle_course_id
# 2022-04-28 15:21:34.508822
+select * from quiz_attempts where batch_date='2022-04-22'
# 2022-04-28 15:21:53.407232
+select name, reporting_group, moodle_course_id from courses where moodle_course_id in (2,4,6) order by moodle_course_id
# 2022-04-28 15:25:08.739317
+select name, reporting_group, moodle_course_id, tenant_id from courses where moodle_course_id in (2,4,6) order by moodle_course_id
# 2022-04-29 14:13:29.772976
+select * from tenants
# 2022-04-29 14:13:30.962223
+select * from tenant
# 2022-04-29 14:13:39.253259
+select * from tenants
# 2022-04-29 14:13:51.623102
+select base_url from tenants
# 2022-04-29 14:14:02.512224
+select tenant_url from tenants
# 2022-04-29 14:41:28.218822
+select name, reporting_group, moodle_course_id from courses where moodle_course_id in (2,4,6) order by moodle_course_id
# 2022-04-29 14:41:37.022139
+select name, reporting_groups from tenants
# 2022-04-29 15:47:08.570163
+select name, reporting_group, moodle_course_id from courses where moodle_course_id in (2,4,6) order by moodle_course_id
# 2022-04-29 15:47:20.946765
+select name, reporting_group, moodle_course_id from courses
# 2022-04-29 15:47:24.247775
+delete from courses where name='big course'
# 2022-04-29 15:50:44.520484
+select name, reporting_groups from tenants
# 2022-05-03 15:14:12.341620
+delete from courses where name='big course'
# 2022-05-03 15:14:29.274908
+select name, reporting_groups from tenants
# 2022-05-03 15:14:46.184255
+select * from courses
# 2022-05-03 15:15:01.015148
+ls
# 2022-05-03 15:18:30.732071
+delete from courses where name='big course'
# 2022-05-03 15:22:41.898709
+select name, reporting_groups from tenants
# 2022-05-03 15:24:33.621246
+delete from courses where name='big course'
# 2022-05-03 16:56:05.577773
+select * from courses
# 2022-05-03 16:56:22.006404
+select name, reporting_groups from tenants
# 2022-05-03 16:57:20.163124
+delete from courses where name='big course'\
# 2022-05-03 16:57:23.182568
+delete from courses where name='big course'
# 2022-05-03 16:57:53.081548
+select name, reporting_groups from tenants
# 2022-05-04 14:25:17.943190
+exit
# 2022-05-04 16:06:27.633944
+select name, reporting_groups from tenants
# 2022-05-04 16:07:09.801632
+delete from courses where name='big course'
# 2022-05-04 16:08:04.532965
+select name, reporting_groups from tenants
# 2022-05-04 16:08:33.269082
+select * from courses where moodle_course_id = 36
# 2022-05-04 16:08:44.460772
+delete from courses where name='big course'
# 2022-05-04 16:09:04.258842
+select * from courses where moodle_course_id = 36
# 2022-05-04 16:09:48.144946
+delete from courses where name='big course'
# 2022-05-04 16:10:51.160262
+select * from courses where moodle_course_id = 36
# 2022-05-04 16:11:26.104408
+delete from courses where name='big course'
# 2022-05-04 16:11:35.517024
+select name, reporting_groups from tenants
# 2022-05-05 13:17:43.235749
+delete from courses where name='big course'
# 2022-05-05 13:17:49.495543
+exit
# 2022-05-05 13:18:16.242126
+delete from courses where name='big course'
# 2022-05-05 13:18:53.328676
+select * from courses where moodle_course_id = 36
# 2022-05-05 13:19:37.470179
+select name, reporting_groups from tenants
# 2022-05-05 13:20:15.862766
+update tenants set reporting_groups = null where name='dev'
# 2022-05-05 13:20:18.307494
+select name, reporting_groups from tenants
# 2022-05-05 13:20:26.645168
+delete from courses where name='big course'
# 2022-05-05 13:32:36.047445
+select name, reporting_groups from tenants
# 2022-05-05 13:32:41.969125
+select * from courses where moodle_course_id = 36
# 2022-05-05 13:32:59.205796
+delete from courses where name='big course'
# 2022-05-05 13:33:23.917660
+select name, reporting_groups from tenants
# 2022-05-05 13:33:32.740985
+select * from courses where moodle_course_id = 36
# 2022-05-05 13:38:54.007911
+delete from courses where name='big course'
# 2022-05-05 13:38:56.767587
+select name, reporting_groups from tenants
# 2022-05-05 13:39:34.321865
+select * from courses where moodle_course_id = 36
# 2022-05-05 13:39:38.172798
+delete from courses where name='big course'
# 2022-05-05 13:42:33.359624
+select * from courses where moodle_course_id = 36
# 2022-05-05 13:42:38.815687
+select name, reporting_groups from tenants
# 2022-05-05 13:46:02.465897
+delete from courses where name='big course'
# 2022-05-05 13:46:17.493097
+update tenants set reporting_groups = null where name='dev'
# 2022-05-05 13:46:22.501086
+select name, reporting_groups from tenants
# 2022-05-05 13:47:15.855841
+select * from courses where moodle_course_id = 36
# 2022-05-05 13:47:58.817517
+select name, reporting_groups from tenants
# 2022-05-05 13:48:05.523036
+delete from courses where name='big course'
# 2022-05-05 13:48:35.797264
+select name, reporting_groups from tenants
# 2022-05-05 13:48:38.070821
+select * from courses where moodle_course_id = 36
# 2022-05-09 14:14:19.497807
+select * from courses
# 2022-05-09 14:14:39.253165
+select * from mdl_course
# 2022-05-09 14:43:22.966058
+select * from courses
# 2022-05-09 14:43:25.479744
+exit
# 2022-05-09 14:44:11.975392
+select * from courses
# 2022-05-09 15:44:39.917937
+delete from courses where name='big course'
# 2022-05-12 07:51:34.378440
+select * from courses
# 2022-05-12 07:51:43.892346
+exit
# 2022-05-12 07:52:31.085224
+select * from courses
# 2022-05-12 07:52:45.974216
+select id from tenants where name like "dev"
# 2022-05-12 07:52:51.031739
+select id from tenants where name like 'dev'
# 2022-05-12 07:55:08.043383
+# select id, name, description, customer_price_cents, everblue_price_cents, course_status, moodle_course_id, tenant, customer_provided_identifier from course where tenant_id = 1
+
# 2022-05-12 07:55:15.554922
+select id, name, description, customer_price_cents, everblue_price_cents, course_status, moodle_course_id, tenant, customer_provided_identifier from course where tenant_id = 1
+
# 2022-05-12 07:55:28.445738
+select id, name, description, customer_price_cents, everblue_price_cents, course_status, moodle_course_id, tenant, customer_provided_identifier from courses where tenant_id = 1
+
# 2022-05-12 07:55:42.289409
+select id, name, description, customer_price_cents, everblue_price_cents, course_status, moodle_course_id, tenant_id, customer_provided_identifier from courses where tenant_id = 1
+
# 2022-05-16 13:23:14.444556
+select * from courses
# 2022-05-16 13:27:01.180606
+select * from information_schema.columns where column_name like '%complet%'
# 2022-05-16 13:27:41.852428
+select * from mdl_course
# 2022-05-16 13:29:34.617503
+exit
# 2022-05-16 13:32:00.090158
+select * from mdl_course
# 2022-05-16 13:32:49.972254
+select * from information_schema.columns where column_name like '%complet%'
# 2022-05-16 13:33:11.742642
+select * from mdl_course_completions
# 2022-05-16 13:34:06.720955
+\d mdl_course_completions
# 2022-05-16 13:35:56.642877
+select * from mdl_course c join mdl_course_completions cc on cc.id = c.id
# 2022-05-16 13:36:13.231240
+select c.name, c.id, cc.timecompleted from mdl_course c join mdl_course_completions cc on cc.id = c.id
# 2022-05-16 13:36:24.392445
+select c.fullname, c.id, cc.timecompleted from mdl_course c join mdl_course_completions cc on cc.id = c.id
# 2022-05-16 13:37:44.758265
+select c.fullname, c.id, cc.timeenrolled from mdl_course c join mdl_course_completions cc on cc.id = c.id
# 2022-05-16 13:37:53.959424
+select c.fullname, c.id, date(cc.timeenrolled) from mdl_course c join mdl_course_completions cc on cc.id = c.id
# 2022-05-16 13:38:02.732149
+select c.fullname, c.id, cc.timeenrolled as date from mdl_course c join mdl_course_completions cc on cc.id = c.id
# 2022-05-16 13:38:47.977596
+select c.fullname, c.id, TO_TIMESTAMP(cc.timeenrolled) as date from mdl_course c join mdl_course_completions cc on cc.id = c.id
# 2022-05-16 13:39:15.508893
+select c.fullname, c.id, TO_TIMESTAMP(cc.timeenrolled) from mdl_course c join mdl_course_completions cc on cc.id = c.id
# 2022-05-16 13:39:28.647655
+select c.fullname, c.id, TO_TIMESTAMP(cc.timeenrolled) as timecompleted from mdl_course c join mdl_course_completions cc on cc.id = c.id
# 2022-05-16 13:52:20.470295
+select * from courses
# 2022-05-16 14:02:44.767235
+\d courses
# 2022-05-17 10:36:14.732888
+select * from courses
# 2022-05-17 10:36:34.528454
+select * from information_schema.columns where column_name like '%email%'
# 2022-05-17 10:37:05.555984
+select * from information_schema.tables where table_name like '%email%'
# 2022-05-17 10:38:03.298037
+select * from mdl_course_completions
# 2022-05-17 10:38:13.122229
+select * from mdl_course
# 2022-05-17 10:38:30.311807
+select * from information_schema.columns where column_name like '%email%'
# 2022-05-17 10:40:03.977167
+\d courses
# 2022-05-17 10:59:08.319619
+select * from courses
# 2022-05-17 11:01:16.998178
+select * from information_schema.columns where column_name like '%email%'
# 2022-05-17 11:01:20.023366
+select * from courses
# 2022-05-17 15:26:22.219478
+update courses set email_passed=False where name='dwd'
# 2022-05-17 15:26:32.763392
+select * from courses
# 2022-05-17 15:26:54.246204
+update courses set email_failed=False where name='Test Course 4'
# 2022-05-17 15:27:15.558059
+update courses set email_failed=False where name='Test Course 2'
# 2022-05-17 15:27:25.644568
+update courses set email_failed=False where name='test course'
# 2022-05-17 15:27:34.423660
+update courses set email_passed=False where name='test course'
# 2022-05-18 08:31:31.583251
+update courses set email_passed=True where id=36
# 2022-05-18 08:32:31.152253
+select * from courses
# 2022-05-18 08:35:47.160245
+exit
# 2022-05-18 08:37:32.092529
+select * from courses
# 2022-05-18 08:37:50.056977
+exit
# 2022-05-18 08:40:15.159798
+select * from courses
# 2022-05-18 08:40:46.269041
+select * from mdl_course
# 2022-05-18 08:40:48.026013
+exit
# 2022-05-18 08:41:18.074439
+select * from mdl_course
# 2022-05-19 13:39:51.213235
+exit
# 2022-05-19 13:40:42.364344
+delete from courses where moodle_course_id = 36
# 2022-05-19 14:25:40.317131
+select * from mdl_course
# 2022-05-19 14:25:45.832221
+select * from course
# 2022-05-19 14:25:47.177054
+select * from courses
# 2022-05-20 09:04:43.018788
+delete from courses where moodle_course_id = 36
# 2022-05-20 11:29:47.692453
+select * from courses
# 2022-05-20 13:22:30.721683
+delete from courses where moodle_course_id = 36
# 2022-05-20 13:23:24.355566
+select * from courses
# 2022-05-20 13:23:31.692285
+/d courses
# 2022-05-20 13:23:34.219105
+\d courses
# 2022-05-20 14:49:52.102200
+select * from courses
# 2022-05-20 16:12:31.382942
+delete from courses where moodle_course_id = 36
# 2022-05-20 16:12:35.771746
+select * from courses
# 2022-05-20 16:18:10.550696
+delete from courses where moodle_course_id = 36
# 2022-05-20 16:18:12.850341
+select * from courses
# 2022-05-20 16:28:10.430490
+delete from courses where moodle_course_id = 36
# 2022-05-20 16:30:14.669880
+select * from courses
# 2022-05-20 16:30:43.629200
+delete from courses where id = 698
# 2022-05-20 16:36:37.423163
+select * from courses
# 2022-05-20 16:45:12.707622
+delete from courses where moodle_course_id = 36
# 2022-05-23 10:12:51.320217
+select * from courses
# 2022-05-23 10:12:52.705567
+exit
# 2022-05-23 10:39:48.165200
+ls
# 2022-05-23 10:39:53.578033
+delete from courses where moodle_course_id = 36
# 2022-05-23 15:04:26.685395
+select * from courses
# 2022-05-25 08:14:54.771669
+clear
# 2022-05-25 08:14:58.083295
+select * from courses
# 2022-05-25 10:27:42.281061
+select * from tenants
# 2022-05-25 10:41:45.857370
+select * from courses
# 2022-05-25 10:42:06.638801
+select tenant from courses
# 2022-05-25 11:22:59.507673
+select * from tenant_default_settings
# 2022-05-25 13:16:45.090262
+\d tenant_default_settings
# 2022-05-25 13:50:57.543132
+select id from tenants
# 2022-05-25 13:51:00.521158
+select id from tenants where name like 'dev'
# 2022-05-25 13:51:04.497656
+\d tenant_default_settings
# 2022-05-25 13:52:32.959524
+insert into tenant_default_settings(tenant_id, customer_price_cents_email_passed) values(1, 199, True)
# 2022-05-25 13:52:54.798356
+insert into tenant_default_settings(tenant_id, customer_price_cents, email_passed) values(1, 199, True)
# 2022-05-25 13:52:59.355512
+select * from tenant_default_settings
# 2022-05-26 08:56:13.061852
+delete from tenan_default_settings where id=1
# 2022-05-26 08:56:16.595885
+exit
# 2022-05-26 08:56:41.022751
+delete from tenan_default_settings where id=1
# 2022-05-26 08:56:49.717558
+delete from tenant_default_settings where id=1
# 2022-05-26 09:23:07.578193
+select * from tenant_default_settings
# 2022-05-26 11:19:32.904573
+insert into tenant_default_settings(tenant_id, customer_price_cents, email_passed) values(1, 199, True)
# 2022-05-26 11:24:28.820656
+select * from tenant_default_settings
# 2022-05-26 11:59:41.108730
+delete from tenant_default_settings where id=1
# 2022-05-26 12:00:51.456853
+select * from tenant_default_settings
# 2022-05-26 12:00:55.101252
+delete from tenant_default_settings where id=2
# 2022-05-26 13:26:48.210222
+select * from tenant_default_settings
# 2022-05-26 15:01:37.940323
+delete from tenant_default_settings where id=2
# 2022-05-26 15:01:46.509931
+delete from tenant_default_settings where id=3
# 2022-05-26 15:02:33.604536
+delete from tenant_default_settings where id=4
# 2022-05-26 15:04:41.790755
+select * from tenant_default_settings
# 2022-05-26 15:14:41.816200
+delete from courses where moodle_course_id = 36
# 2022-05-26 15:15:00.051708
+select * from courses
# 2022-05-26 15:29:31.524138
+select * from tenant_default_settings
# 2022-05-26 15:38:07.873405
+delete * from tenant_default_settings
# 2022-05-26 15:38:18.668191
+delete from courses where moodle_course_id = 5
# 2022-05-26 15:38:22.601620
+delete from courses where moodle_course_id = 6
# 2022-05-26 15:38:39.090050
+delete from tenant_default_settings where id=5
# 2022-05-26 15:38:41.945048
+delete from tenant_default_settings where id=6
# 2022-05-26 15:38:45.300750
+delete from tenant_default_settings where id=7
# 2022-05-26 15:42:42.766866
+select * from tenant_default_settings
# 2022-05-26 15:58:58.690623
+delete from tenant_default_settings where id=8
# 2022-05-26 15:59:02.527948
+delete from tenant_default_settings where id=9
# 2022-05-26 15:59:07.902033
+delete from tenant_default_settings where id=10
# 2022-05-26 15:59:55.814325
+select * from tenant_default_settings
# 2022-05-26 16:04:03.741602
+delete from tenant_default_settings where id=11
# 2022-05-26 16:04:23.976508
+select * from tenant_default_settings
# 2022-05-26 16:04:56.960213
+delete from tenant_default_settings where id=12
# 2022-05-26 16:05:02.057169
+delete from tenant_default_settings where id=13
# 2022-05-26 16:05:10.424758
+select * from tenant_default_settings
# 2022-05-26 16:13:15.585955
+\d tenant_default_settings
# 2022-05-27 09:08:51.497364
+select * from tenant_default_settings
# 2022-05-27 09:08:54.234413
+exit
# 2022-05-27 09:09:31.470678
+select * from tenant_default_settings
# 2022-05-27 09:09:41.550411
+delete from tenant_default_settings where id=14
# 2022-05-27 09:09:44.884313
+delete from tenant_default_settings where id=15
# 2022-05-27 09:10:24.821565
+select * from tenant_default_settings
# 2022-05-27 12:52:40.423369
+exit
# 2022-05-27 13:04:15.897211
+select * from mdl_course
# 2022-05-27 13:30:31.988212
+exit
# 2022-05-27 14:07:16.615330
+select * from courses
# 2022-05-27 14:07:19.827391
+select * from mdl_course
# 2022-05-27 14:14:36.052804
+select * from tenant_default_settings
# 2022-05-27 14:14:54.417342
+delete from tenant_default_settings where id=16
# 2022-05-27 14:15:22.639036
+select * from tenant_default_settings
# 2022-05-31 07:28:01.852668
+exit
# 2022-05-31 07:28:04.795941
+exit
# 2022-05-31 07:28:11.387235
+select * from tenant_default_settings
# 2022-06-01 14:52:50.935504
+select * from courses
# 2022-06-03 15:44:14.287608
+select * from courses where tenant_id = 1
# 2022-06-05 20:14:50.054728
+select * from courses
# 2022-06-05 20:15:12.089553
+select * from courses where tenant_id = 1
# 2022-06-05 20:46:39.676457
+delete from courses where name='Question workflow'
# 2022-06-06 14:32:46.710437
+exit
# 2022-06-06 14:33:00.646667
+delete from courses where name='Question workflow'
# 2022-06-06 14:34:59.724610
+select * from courses where tenant_id = 1
# 2022-06-06 14:35:11.211359
+delete from courses where id=830
# 2022-06-06 14:36:26.310018
+delete from courses where name='Question workflow'
# 2022-06-06 14:38:34.917956
+delete from courses where id=830
# 2022-06-06 14:38:56.625400
+select * from courses where tenant_id = 1
# 2022-06-06 14:39:04.433622
+delete from courses where id=832
# 2022-06-06 14:39:25.370411
+select * from courses where tenant_id = 1
# 2022-06-06 14:51:06.031378
+delete from courses where name='Question workflow'
# 2022-06-06 14:55:48.898732
+select * from courses where tenant_id = 1
# 2022-06-06 14:55:53.825153
+delete from courses where id=835
# 2022-06-06 14:56:24.376316
+delete from courses where name='Question workflow'
# 2022-06-06 15:13:11.094503
+\d courses
# 2022-06-06 15:15:22.884819
+delete from courses where name='Question workflow'
# 2022-06-06 15:15:33.050139
+select * from courses where tenant_id = 1
# 2022-06-06 15:39:43.056894
+select * from courses