Initial Commit
This commit is contained in:
parent
7118edd67c
commit
2f8f8b74c2
4
cassandra_Database/dbacl.csv
Normal file
4
cassandra_Database/dbacl.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbaclid,dbaclname,dbuserid,id,status
|
||||||
|
20,mkxy4,4,350f3a345262490b81da4560f35effd6,1
|
||||||
|
1,abcACL,1,xyz,9
|
||||||
|
2,vidya,2,abc,1
|
|
6
cassandra_Database/dbauth.csv
Normal file
6
cassandra_Database/dbauth.csv
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
dbauthid,dbauthdesc,id,status
|
||||||
|
13,abcAuth10,750993bacefe464faa047bc7243710bd,1
|
||||||
|
11,abcAUTH,,1
|
||||||
|
1,abcAuth,xyz,1
|
||||||
|
2,xyzAuth,nnn,1
|
||||||
|
12,abcAuth9,10969ead4d0c44bd88a03e30567eeed3,1
|
|
4
cassandra_Database/dbbilling.csv
Normal file
4
cassandra_Database/dbbilling.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbbillingid,amount,dbbillingdate,dbbillinglastupdate,dbbillingname,dbcustomerid,dbinvoiceid,id,status
|
||||||
|
4,120,12jan,10jan,abdBILLING,5,5,dc96c37ded6c4345b1955c206cddc4ef,9
|
||||||
|
1,1200,12jan,10jan,abcBILLING,1,1,1,1
|
||||||
|
2,1500,8jan,10dec,xyzBILLING,2,2,2,1
|
|
5
cassandra_Database/dbcategory.csv
Normal file
5
cassandra_Database/dbcategory.csv
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
dbcategoryid,dbcategorydesc,dbcategoryname,dbschemaid,id,status
|
||||||
|
1,category5,abcAT,6,1,1
|
||||||
|
8,category5,abcAT,6,39c539972e914bccac2b568d659294ad,1
|
||||||
|
2,category2,xyzCAT,2,2,1
|
||||||
|
6,,,,,9
|
|
4
cassandra_Database/dbcharges.csv
Normal file
4
cassandra_Database/dbcharges.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbchargeid,dbchargename,dbschemaid,id,status
|
||||||
|
3,abCHARGE,2,5fe2e93fdd9b48c5a864563b4570b2e4,9
|
||||||
|
1,abcCHARGE,1,1,1
|
||||||
|
2,xyzCHARGE,2,2,1
|
|
4
cassandra_Database/dbcity.csv
Normal file
4
cassandra_Database/dbcity.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbcityid,dbcityname,dbstateid,id,status
|
||||||
|
1,guntur,1,1,1
|
||||||
|
2,bandarwela,2,2,1
|
||||||
|
9,gudivada,1,efeaac8404254c74b7b2ffa4c5e1adc1,9
|
|
4
cassandra_Database/dbcollection.csv
Normal file
4
cassandra_Database/dbcollection.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbcollectionid,dbcollectionname,id,status
|
||||||
|
5,abcdCO,324b275b68c14f30bb02b88b804cdc53,9
|
||||||
|
1,abcdCOLL,1,1
|
||||||
|
2,xyzCOLL,2,1
|
|
4
cassandra_Database/dbconnectionstring.csv
Normal file
4
cassandra_Database/dbconnectionstring.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbconnectionstringid,dbconnectionstringname,dbipaddressid,dbpasswordid,dbtypeid,dbusernameid,id,status
|
||||||
|
1,abcCONNECTION,1,1,1,1,1,1
|
||||||
|
2,xyzCONNECTION,2,2,2,2,2,1
|
||||||
|
9,abcCONNECTIO,6,10,1,9,887d35a7cb2f40fdbf479243de73aa53,9
|
|
4
cassandra_Database/dbcountry.csv
Normal file
4
cassandra_Database/dbcountry.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbcountryid,dbcountrydesc,dbcountryname,id,status
|
||||||
|
9,best country,india,c71f826d52fd430fb238da1612ed8ffd,9
|
||||||
|
1,best country,india,1,1
|
||||||
|
2,brinjal,bangladesh,2,1
|
|
4
cassandra_Database/dbcustomer.csv
Normal file
4
cassandra_Database/dbcustomer.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbcustomerid,dbaddress,dbcreatedate,dbemailid,dbfirstname,dblastname,dblastupdated,dbplanid,dbuserid,id,status
|
||||||
|
1,madhapur,20march2023,1,ab,c,yesterday,1,1,1,1
|
||||||
|
2,sainikpuri,19march2023,2,xy,z,today,2,2,2,1
|
||||||
|
9,madhapur,20march2023,8,ab,c,yesterday,1,7,61d660d254604db7b0090caf4745e9a3,9
|
|
4
cassandra_Database/dbdeletenote.csv
Normal file
4
cassandra_Database/dbdeletenote.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbdeletenoteid,dbdeletenotedesc,dbdeletenotename,id,status
|
||||||
|
1,deletenote12,abcdDELETENOTE,1,9
|
||||||
|
2,deletenote2,xyzDELETENOTE,2,1
|
||||||
|
3,3,3,1d7781c61e554de89fbbfbd94628b713,1
|
|
4
cassandra_Database/dbdeploycsv
Normal file
4
cassandra_Database/dbdeploycsv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbdeployid,dbbillingid,dbdeployname,id,status
|
||||||
|
4,3,gk,afc2c18cb7174eac952381329fa47417,1
|
||||||
|
1,1,abcDEPLOY,1,9
|
||||||
|
2,2,xyzDEPLOY,2,1
|
4
cassandra_Database/dbemail.csv
Normal file
4
cassandra_Database/dbemail.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbemailid,dbemail,id,status
|
||||||
|
3,gaggaag@,7e16066515134ae783a57da1c5d53bdf,1
|
||||||
|
1,agagag@gmail.com,1,9
|
||||||
|
2,xyz@gmail.com,2,1
|
|
5
cassandra_Database/dbencoding.csv
Normal file
5
cassandra_Database/dbencoding.csv
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
dbencodingid,dbencodingdesc,dbencodingname,id,status
|
||||||
|
1,xyzENC,encoding1,1,1
|
||||||
|
2,abcENC,encoding2,2,1
|
||||||
|
12,,,,9
|
||||||
|
3,hdhdhd,gagaga,f06ed555509b4f7b80957d524b48cc54,1
|
|
5
cassandra_Database/dbgeninvoice.csv
Normal file
5
cassandra_Database/dbgeninvoice.csv
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
dbgeninvoiceid,dbgeninvoicetype,dbinvoiceid,id,status
|
||||||
|
5,gagaga,5,64cb5c83eb0b4f58b061bd3502c8d012,1
|
||||||
|
12,,,,9
|
||||||
|
1,abcGENINVOCE,1,1,1
|
||||||
|
2,xyzGENINVOCE,2,2,1
|
|
4
cassandra_Database/dbgst.csv
Normal file
4
cassandra_Database/dbgst.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbgstid,dbgstnumber,id,status
|
||||||
|
1,123456,1,9
|
||||||
|
2,54321,2,1
|
||||||
|
3,3,166b2c33409c4dfa8590ecc4e2915819,1
|
|
4
cassandra_Database/dbhash.csv
Normal file
4
cassandra_Database/dbhash.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbhashid,dbhashname,dbhashtype,id,status
|
||||||
|
3,gk,3,1e573b9b82b24d79a159220b937786f4,1
|
||||||
|
1,abcHASH,hash13,1,9
|
||||||
|
2,xyzHASH,hash2,2,1
|
|
4
cassandra_Database/dbinstance.csv
Normal file
4
cassandra_Database/dbinstance.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbinstanceid,dbinstancename,dbipaddressid,dbpasswordid,dbportid,dbschemaid,dbusernameid,id,status
|
||||||
|
1,abcINSTANCE,1,1,1,1,1,1,1
|
||||||
|
2,xyzINSTANCE,2,2,2,2,2,2,1
|
||||||
|
3,fffffff,3,3,3,3,3,0b377dc8bad44f3ab54b6f0f2f54b5be,9
|
|
4
cassandra_Database/dbinvoice.csv
Normal file
4
cassandra_Database/dbinvoice.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbinvoiceid,dbchargeid,dbcustomerid,dbinvoicedate,dbinvoicelineitemid,dbinvoicenumber,dbinvoiceperiodenddate,dbinvoiceperiodstartdate,id,status
|
||||||
|
3,3,3,3,3,3,3,3,cf8b595a86a944bb9d5e3642ecf7c92d,9
|
||||||
|
1,1,1,20march,1,12345,15feb,12feb,1,1
|
||||||
|
2,2,2,19march,2,54321,21feb,13feb,2,1
|
|
4
cassandra_Database/dbinvoicelineitem.csv
Normal file
4
cassandra_Database/dbinvoicelineitem.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbinvoicelineitemid,dbinvoicelineitemname,id,status
|
||||||
|
1,abcLINEITEM,1,1
|
||||||
|
2,xyzLINEITEM,2,1
|
||||||
|
3,3,e574b8733aad4455b00d9820e9d05943,1
|
|
4
cassandra_Database/dbipaddress.csv
Normal file
4
cassandra_Database/dbipaddress.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbipaddressid,dbipaddressdesc,dbipaddressvalue,dbpasswordid,dbusernameid,id,status
|
||||||
|
3,3,3,3,3,eaee14b51bfa489cb33fac0ff9df2d19,9
|
||||||
|
1,ipaddress1,12.34.56.78,1,1,1,1
|
||||||
|
2,ipaddress2,87.65.43.21,2,2,2,1
|
|
4
cassandra_Database/dbkyc.csv
Normal file
4
cassandra_Database/dbkyc.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbkycid,dbkycdesc,dbtypeid,id,status
|
||||||
|
1,abcKYC,1,1,9
|
||||||
|
2,abcKYC,2,2,1
|
||||||
|
3,jjjjjjj,3,3cfce1d456634c438784560efdcbdb3e,1
|
|
4
cassandra_Database/dbname.csv
Normal file
4
cassandra_Database/dbname.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbnameid,dbcategoryid,dbname,dbschemaid,id,status
|
||||||
|
1,1,mySQL,1,1,9
|
||||||
|
2,2,msSQL,2,2,1
|
||||||
|
3,3,3,3,1e433d8f28814b53bc9d7468812b4820,1
|
|
4
cassandra_Database/dborders.csv
Normal file
4
cassandra_Database/dborders.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dborderid,dbbillingid,dbordername,dbpackageid,id,status
|
||||||
|
4,3,3,3,2d01da4bcc3f41a1948d40ca5f712ba0,9
|
||||||
|
1,1,abcORDERS,1,1,1
|
||||||
|
2,2,xyzORDERS,2,2,1
|
|
4
cassandra_Database/dborganization.csv
Normal file
4
cassandra_Database/dborganization.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dborganizationid,dborganizationdesc,dborganizationname,dbpanid,id,status
|
||||||
|
1,organisation1,abcORG,1,1,1
|
||||||
|
2,organisation2,xyzORG,2,2,1
|
||||||
|
3,3,3,3,c3b9d5073ddc4617ac0a04033aa96699,9
|
|
4
cassandra_Database/dbpackage.csv
Normal file
4
cassandra_Database/dbpackage.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbpackageid,dbpackagename,id,status
|
||||||
|
3,kkkkgakk,bbc56510b28140f4bdcd2fa0114da002,9
|
||||||
|
1,abcPACKAGE,1,1
|
||||||
|
2,xyzPACKAGE,2,1
|
|
4
cassandra_Database/dbpan.csv
Normal file
4
cassandra_Database/dbpan.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbpanid,dbemailid,dbkycid,dbpannumber,dbphoneid,id,status
|
||||||
|
1,1,1,ABC23456k78,1,1,9
|
||||||
|
2,2,2,XYZ9876543,2,2,1
|
||||||
|
3,3,3,3,3,a6a1b5ddeac84f35a0a547cc46dfaf69,1
|
|
4
cassandra_Database/dbpassword.csv
Normal file
4
cassandra_Database/dbpassword.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbpasswordid,dbcategoryid,dbpassword,dbpassworddesc,dbusernameid,id,status
|
||||||
|
1,1,abc@123,password1,1,1,9
|
||||||
|
2,2,xyz@123,password2,2,2,1
|
||||||
|
3,3,3,3,3,ab2c993ea4d14230afc257122cbd7906,1
|
|
4
cassandra_Database/dbpermission.csv
Normal file
4
cassandra_Database/dbpermission.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbpermissionid,dbaclid,dbpermissionname,dbtypeid,id,status
|
||||||
|
1,1,abcPERMISSION,1,1,1
|
||||||
|
2,2,xyzPERMISSION,2,2,1
|
||||||
|
3,3,3,3,23b54594f2104de4b6639e0b8bbcd4ad,9
|
|
4
cassandra_Database/dbphone.csv
Normal file
4
cassandra_Database/dbphone.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbphoneid,dbphonenumber,id,status
|
||||||
|
3,3,1a9ed4e269a040dbabbc0a5cc86510ab,1
|
||||||
|
1,1234567891,1,1
|
||||||
|
2,2134567876,2,9
|
|
4
cassandra_Database/dbpincode.csv
Normal file
4
cassandra_Database/dbpincode.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbpincodeid,dbcityid,dbcountryid,dbpincode,dbstateid,id,status
|
||||||
|
1,1,1,522003,1,1,1
|
||||||
|
2,2,2,431200,2,2,1
|
||||||
|
3,3,3,3,3,6881877c10af4f6c873b4561fd6fdc61,9
|
|
4
cassandra_Database/dbplan.csv
Normal file
4
cassandra_Database/dbplan.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbplanid,dbplanname,id,status
|
||||||
|
3,3,2ef34a76b68847d2aa13f163cf935724,1
|
||||||
|
1,abcPLAN,1,9
|
||||||
|
2,xyzPLAN,2,1
|
|
4
cassandra_Database/dbplanbilling.csv
Normal file
4
cassandra_Database/dbplanbilling.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbplanbillingid,dbpackageid,dbplanbillingname,dbplanid,id,status
|
||||||
|
1,1,abcBILLING,1,1,9
|
||||||
|
2,2,xyzBILLING,2,2,1
|
||||||
|
3,3,3,3,7c6ca1e6943842dd869cd187fd502721,1
|
|
4
cassandra_Database/dbplans.csv
Normal file
4
cassandra_Database/dbplans.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbplansid,dbbillingid,dbplansname,dbtypeid,id,status
|
||||||
|
3,3,3,3,a0bf8acb65a3450e8e4d22c6c568d7f4,1
|
||||||
|
1,1,abcPLAN,1,1,9
|
||||||
|
2,2,xyzPLAN,2,2,1
|
|
4
cassandra_Database/dbpo.csv
Normal file
4
cassandra_Database/dbpo.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbpoid,dbbillingid,dbcustomerid,dbinvoiceid,dborganizationid,dbponumber,id,status
|
||||||
|
1,1,1,1,1,12345678,1,1
|
||||||
|
2,2,2,2,2,76543211,2,1
|
||||||
|
4,3,3,3,3,3,c211fef725774162b5a6b9a5df9a161d,9
|
|
4
cassandra_Database/dbportnumber.csv
Normal file
4
cassandra_Database/dbportnumber.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbportid,dbcountryid,dbpasswordid,dbpincodeid,dbportnumbercategory,dbportnumberdesc,dbportnumbername,dbusernameid,id,status
|
||||||
|
1,1,1,1,local1,portnumber1,abcPORT,1,1,1
|
||||||
|
2,2,2,2,local2,portnumber2,xyzPORT,2,2,1
|
||||||
|
3,3,3,3,3,3,3,3,3a8a69cb6a7f40c8b26353e3df489a97,9
|
|
4
cassandra_Database/dbprod.csv
Normal file
4
cassandra_Database/dbprod.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbprodid,dbprodname,id,status
|
||||||
|
1,abcPROD,1,1
|
||||||
|
2,xyzPROD,2,1
|
||||||
|
3,3,34e41da7be8c4ba2ba91112476042096,9
|
|
4
cassandra_Database/dbrole.csv
Normal file
4
cassandra_Database/dbrole.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbroleid,dbpermissionid,dbroledesc,dbrolename,dbuserid,id,status
|
||||||
|
3,3,3,3,3,09ed4e09e509442387a974249993d6d9,9
|
||||||
|
1,1,vice president,VP,1,1,1
|
||||||
|
2,2,head of department,HOD,2,2,1
|
|
5
cassandra_Database/dbschema.csv
Normal file
5
cassandra_Database/dbschema.csv
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
dbschemaid,dbauthid,dbcollectionid,dbencodingid,dbschemadesc,dbschemaname,dbvariabletypeid,id,status
|
||||||
|
4,3,3,3,ggg,gk,3,0a9c3e726ef441d1a74e962ecc79715b,1
|
||||||
|
1,1,1,2,ABCschema,schema1,1,1,9
|
||||||
|
2,2,2,1,XYZschema,schema2,2,2,1
|
||||||
|
12,,,,,,,,9
|
|
4
cassandra_Database/dbstate.csv
Normal file
4
cassandra_Database/dbstate.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbstateid,dbcountryid,dbstatedesc,dbstatename,id,status
|
||||||
|
1,1,spices,andhra,1,9
|
||||||
|
2,2,uva,badulla,2,1
|
||||||
|
3,3,3,gk,8dd82d649781476aa411966b66f8b377,1
|
|
4
cassandra_Database/dbtype.csv
Normal file
4
cassandra_Database/dbtype.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbtypeid,dbcategoryid,dbinstanceid,dbnameid,dbschemaid,dbtypedesc,dbtypename,id,status
|
||||||
|
9,19,19,19,19,type19,abcTYPE,3e8bf909ef8e4218a147daa2590c77fc,9
|
||||||
|
1,1,1,1,1,type1,abcTYPE,1,1
|
||||||
|
2,2,2,2,2,type2,xyzTYPE,2,1
|
|
4
cassandra_Database/dbusagelimit.csv
Normal file
4
cassandra_Database/dbusagelimit.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbusagelimitid,dborganizationid,dbplanid,dbroleid,dbschemaid,dbusagelimitmax,dbusagelimitmin,id,status
|
||||||
|
1,4,4,4,1,4,4,1,4
|
||||||
|
2,2,2,2,2,2000,200,2,1
|
||||||
|
3,3,3,3,3,800,700,6e6fedaa641848a7b79552b82c89ea96,1
|
|
4
cassandra_Database/dbusername.csv
Normal file
4
cassandra_Database/dbusername.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbusernameid,dbcategoryid,dbnameid,dbusername,dbusernamedesc,id,status
|
||||||
|
1,1,1,suhaniY,green_liked,1,9
|
||||||
|
2,2,2,shivani,yellow,2,1
|
||||||
|
3,3,3,gk,3,37ffff46686b4b2fa401ec0e8b16c49d,1
|
|
3
cassandra_Database/dbusers.csv
Normal file
3
cassandra_Database/dbusers.csv
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
dbuserid,dbpasswordid,dbusernameid,dbusersdp,dbusersemail,dbusersname,dbusersrole,dbuserstype,id,status
|
||||||
|
1,1,1,abc.url,suhani@gmail.com,suhaniUser,engineer,fulltime,1,1
|
||||||
|
2,2,2,xyz.url,shivani@gmail.com,shivaniUser,doctor,parttime,2,1
|
|
6
cassandra_Database/dbvariabletype.csv
Normal file
6
cassandra_Database/dbvariabletype.csv
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
dbvariabletypeid,dbvariabletypename,id,status
|
||||||
|
5,abc,68cd58d399504b97940ce23583519e7e,1
|
||||||
|
1,abcdVAR,1,1
|
||||||
|
2,xyzVAR,2,1
|
||||||
|
12,,,9
|
||||||
|
10,ind,,9
|
|
4
cassandra_Database/uac.csv
Normal file
4
cassandra_Database/uac.csv
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dbuacid,dbroleid,dbuacname,dbuactype,id,status
|
||||||
|
3,3,3,3,789844108b1f4d97a994a02bf8c123d8,1
|
||||||
|
1,1,uac12,abcdUAC,1,9
|
||||||
|
2,2,uac2,xyzUAC,2,1
|
|
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
5585
core/bll/text
Normal file
5585
core/bll/text
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -1,46 +1,47 @@
|
||||||
columns_users_table="dbuserstype,dbuserid,dbusersname,dbusersemail,dbusersdp,dbusersrole,dbusernameid,dbpasswordid,status"
|
columns_users_table="id,dbuserstype,dbuserid,dbusersname,dbusersemail,dbusersdp,dbusersrole,dbusernameid,dbpasswordid,status"
|
||||||
column_dbtype_table="dbtypename,dbtypeid,dbtypedesc,dbschemaid,dbcategoryid,dbinstanceid,dbnameid,status"
|
column_dbtype_table="id,dbtypename,dbtypeid,dbtypedesc,dbschemaid,dbcategoryid,dbinstanceid,dbnameid,status"
|
||||||
columns_dbacl_table = "dbaclname,dbuserid,dbaclid,status"
|
columns_dbacl_table = "id,dbaclname,dbuserid,dbaclid,status"
|
||||||
column_dbauth_table = "dbauthdesc,dbauthid,status"
|
#columns_dbacl_table = "dbaclid,dbaclname,dbuserid,id,status"
|
||||||
column_dbbilling_table = "dbbillingname,dbbillingid,dbcustomerid,amount,dbbillingdate,dbbillinglastupdate,dbinvoiceid,status"
|
column_dbauth_table = "id,dbauthdesc,dbauthid,status"
|
||||||
column_dbcategory_table = "dbcategoryname,dbcategoryid,dbschemaid,dbcategorydesc,status"
|
column_dbbilling_table = "id,dbbillingname,dbbillingid,dbcustomerid,amount,dbbillingdate,dbbillinglastupdate,dbinvoiceid,status"
|
||||||
column_dbcharges_table = "dbchargename,dbchargeid,dbschemaid,status"
|
column_dbcategory_table = "id,dbcategoryname,dbcategoryid,dbschemaid,dbcategorydesc,status"
|
||||||
column_dbcity_table = "dbcityname,dbcityid,dbstateid,status"
|
column_dbcharges_table = "id,dbchargename,dbchargeid,dbschemaid,status"
|
||||||
column_dbconnectionstring_table = "dbconnectionstringname,dbconnectionstringid,dbusernameid,dbpasswordid,dbipaddressid,dbtypeid,status"
|
column_dbcity_table = "id,dbcityname,dbcityid,dbstateid,status"
|
||||||
column_dbcollection_table = "dbcollectionname,dbcollectionid,status"
|
column_dbconnectionstring_table = "id,dbconnectionstringname,dbconnectionstringid,dbusernameid,dbpasswordid,dbipaddressid,dbtypeid,status"
|
||||||
column_dbcountry_table = "dbcountryname,dbcountryid,dbcountrydesc,status"
|
column_dbcollection_table = "id,dbcollectionname,dbcollectionid,status"
|
||||||
column_dbcustomer_table = "dbfirstname,dbcustomerid,dblastname,dbemailid,dbuserid,dbaddress,dbcreatedate,dblastupdated,dbplanid,status"
|
column_dbcountry_table = "id,dbcountryname,dbcountryid,dbcountrydesc,status"
|
||||||
column_dbdeleteNote_table = "dbdeletenotename,dbdeletenoteid,dbdeletenotedesc,status"
|
column_dbcustomer_table = "id,dbfirstname,dbcustomerid,dblastname,dbemailid,dbuserid,dbaddress,dbcreatedate,dblastupdated,dbplanid,status"
|
||||||
column_dbdeploy_table = "dbdeployname,dbdeployid,dbbillingid,status"
|
column_dbdeleteNote_table = "id,dbdeletenotename,dbdeletenoteid,dbdeletenotedesc,status"
|
||||||
column_dbemail_table = "dbemail,dbemailid,status"
|
column_dbdeploy_table = "id,dbdeployname,dbdeployid,dbbillingid,status"
|
||||||
column_dbencoding_table = "dbencodingdesc,dbencodingid,dbencodingname,status"
|
column_dbemail_table = "id,dbemail,dbemailid,status"
|
||||||
column_dbGenInvoice_table = "dbgeninvoiceid,dbgeninvoicetype,dbinvoiceid,status"
|
column_dbencoding_table = "id,dbencodingdesc,dbencodingid,dbencodingname,status"
|
||||||
column_dbgst_table = "dbgstnumber,dbgstid,status"
|
column_dbGenInvoice_table = "id,dbgeninvoiceid,dbgeninvoicetype,dbinvoiceid,status"
|
||||||
column_dbhash_table = "dbhashname,dbhashid,dbhashtype,status"
|
column_dbgst_table = "id,dbgstnumber,dbgstid,status"
|
||||||
column_dbinstance_table = "dbinstancename,dbinstanceid,dbportid,dbipaddressid,dbusernameid,dbpasswordid,dbschemaid,status"
|
column_dbhash_table = "id,dbhashname,dbhashid,dbhashtype,status"
|
||||||
column_dbinvoice_table = "dbinvoicenumber,dbinvoiceid,dbinvoiceperiodstartdate,dbinvoicelineitemid,dbcustomerid,dbinvoicedate,dbinvoiceperiodenddate,dbchargeid,status"
|
column_dbinstance_table = "id,dbinstancename,dbinstanceid,dbportid,dbipaddressid,dbusernameid,dbpasswordid,dbschemaid,status"
|
||||||
column_dbinvoicelineitem_table = "dbinvoicelineitemname,dbinvoicelineitemid,status"
|
column_dbinvoice_table = "id,dbinvoicenumber,dbinvoiceid,dbinvoiceperiodstartdate,dbinvoicelineitemid,dbcustomerid,dbinvoicedate,dbinvoiceperiodenddate,dbchargeid,status"
|
||||||
column_dbipaddress_table = "dbipaddressvalue,dbipaddressid,dbipaddressdesc,dbusernameid,dbpasswordid,status"
|
column_dbinvoicelineitem_table = "id,dbinvoicelineitemname,dbinvoicelineitemid,status"
|
||||||
column_dbkyc_table = "dbkycdesc,dbkycid,dbtypeid,status"
|
column_dbipaddress_table = "id,dbipaddressvalue,dbipaddressid,dbipaddressdesc,dbusernameid,dbpasswordid,status"
|
||||||
column_dbname_table = "dbname,dbnameid,dbschemaid,dbcategoryid,status"
|
column_dbkyc_table = "id,dbkycdesc,dbkycid,dbtypeid,status"
|
||||||
column_dborders_table = "dborderid,dbordername,dbbillingid,dbpackageid,status"
|
column_dbname_table = "id,dbname,dbnameid,dbschemaid,dbcategoryid,status"
|
||||||
column_dborganization_table = "dborganizationname,dborganizationid,dborganizationdesc,dbpanid,status"
|
column_dborders_table = "id,dborderid,dbordername,dbbillingid,dbpackageid,status"
|
||||||
column_dbpackage_table = "dbpackagename,dbpackageid,status"
|
column_dborganization_table = "id,dborganizationname,dborganizationid,dborganizationdesc,dbpanid,status"
|
||||||
column_dbpan_table = "dbpannumber,dbpanid,dbemailid,dbphoneid,dbkycid,status"
|
column_dbpackage_table = "id,dbpackagename,dbpackageid,status"
|
||||||
column_dbpassword_table = "dbpassword,dbpasswordid,dbpassworddesc,dbusernameid,dbcategoryid,status"
|
column_dbpan_table = "id,dbpannumber,dbpanid,dbemailid,dbphoneid,dbkycid,status"
|
||||||
column_dbpermission_table = "dbpermissionname,dbpermissionid,dbtypeid,dbaclid,status"
|
column_dbpassword_table = "id,dbpassword,dbpasswordid,dbpassworddesc,dbusernameid,dbcategoryid,status"
|
||||||
column_dbphone_table = "dbphonenumber,dbphoneid,status"
|
column_dbpermission_table = "id,dbpermissionname,dbpermissionid,dbtypeid,dbaclid,status"
|
||||||
column_dbpincode_table = "dbpincode,dbpincodeid,dbcityid,dbstateid,dbcountryid,status"
|
column_dbphone_table = "id,dbphonenumber,dbphoneid,status"
|
||||||
column_dbplan_table = "dbplanname,dbplanid,status"
|
column_dbpincode_table = "id,dbpincode,dbpincodeid,dbcityid,dbstateid,dbcountryid,status"
|
||||||
column_dbplanbilling_table = "dbplanbillingname,dbplanbillingid,dbpackageid,dbplanid,status"
|
column_dbplan_table = "id,dbplanname,dbplanid,status"
|
||||||
column_dbplans_table = "dbplansid,dbplansname,dbtypeid,dbbillingid,status"
|
column_dbplanbilling_table = "id,dbplanbillingname,dbplanbillingid,dbpackageid,dbplanid,status"
|
||||||
column_dbpo_table = "dbponumber,dbpoid,dbinvoiceid,dbbillingid,dbcustomerid,dborganizationid,status"
|
column_dbplans_table = "id,dbplansid,dbplansname,dbtypeid,dbbillingid,status"
|
||||||
column_dbportnumber_table = "dbportnumbername,dbportid,dbportnumbercategory,dbportnumberdesc,dbcountryid,dbpincodeid,dbusernameid,dbpasswordid,status"
|
column_dbpo_table = "id,dbponumber,dbpoid,dbinvoiceid,dbbillingid,dbcustomerid,dborganizationid,status"
|
||||||
column_dbprod_table = "dbprodname,dbprodid,status"
|
column_dbportnumber_table = "id,dbportnumbername,dbportid,dbportnumbercategory,dbportnumberdesc,dbcountryid,dbpincodeid,dbusernameid,dbpasswordid,status"
|
||||||
column_dbrole_table = "dbrolename,dbroleid,dbuserid,dbroledesc,dbpermissionid,status"
|
column_dbprod_table = "id,dbprodname,dbprodid,status"
|
||||||
column_dbschema_table = "dbschemaname,dbschemaid,dbschemadesc,dbcollectionid,dbauthid,dbencodingid,dbvariabletypeid,status"
|
column_dbrole_table = "id,dbrolename,dbroleid,dbuserid,dbroledesc,dbpermissionid,status"
|
||||||
column_dbstate_table = "dbstatename,dbstateid,dbcountryid,dbstatedesc,status"
|
column_dbschema_table = "id,dbschemaname,dbschemaid,dbschemadesc,dbcollectionid,dbauthid,dbencodingid,dbvariabletypeid,status"
|
||||||
column_dbuac_table = "dbuactype,dbuacid,dbroleid,dbuacname,status"
|
column_dbstate_table = "id,dbstatename,dbstateid,dbcountryid,dbstatedesc,status"
|
||||||
column_username_table = "dbusername,dbusernameid,dbusernamedesc,dbnameid,dbcategoryid,status"
|
column_dbuac_table = "id,dbuactype,dbuacid,dbroleid,dbuacname,status"
|
||||||
column_dbusagelimit_table = "dbusagelimitmin,dbusagelimitid,dbschemaid,dborganizationid,dbroleid,dbplanid,dbusagelimitmax,status"
|
column_username_table = "id,dbusername,dbusernameid,dbusernamedesc,dbnameid,dbcategoryid,status"
|
||||||
column_dbvariabletype_table="dbvariabletypename,dbvariabletypeid,status"
|
column_dbusagelimit_table = "id,dbusagelimitmin,dbusagelimitid,dbschemaid,dborganizationid,dbroleid,dbplanid,dbusagelimitmax,status"
|
||||||
|
column_dbvariabletype_table="id,dbvariabletypename,dbvariabletypeid,status"
|
Binary file not shown.
|
@ -3,8 +3,9 @@
|
||||||
import re
|
import re
|
||||||
from werkzeug.security import generate_password_hash
|
from werkzeug.security import generate_password_hash
|
||||||
import json
|
import json
|
||||||
import psycopg2
|
#import psycopg2
|
||||||
import sys
|
import sys
|
||||||
|
import uuid
|
||||||
# Set up the connection string
|
# Set up the connection string
|
||||||
#connection_string = 'DRIVER={ODBC Driver 17 for SQL Server};SERVER=localhost;DATABASE=dbilayer;UID=sa;PWD=Ganesh@m0477;'
|
#connection_string = 'DRIVER={ODBC Driver 17 for SQL Server};SERVER=localhost;DATABASE=dbilayer;UID=sa;PWD=Ganesh@m0477;'
|
||||||
# Connect to the database
|
# Connect to the database
|
||||||
|
@ -24,6 +25,20 @@ import sys
|
||||||
# database="reactpropmod",
|
# database="reactpropmod",
|
||||||
# port=3303
|
# port=3303
|
||||||
# )
|
# )
|
||||||
|
|
||||||
|
from cassandra.cluster import Cluster
|
||||||
|
cluster = Cluster(['127.0.0.1'])
|
||||||
|
session = cluster.connect('dbilayer_cassandra')
|
||||||
|
print(session)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#result_set = session.execute()
|
||||||
|
#for row in result_set:
|
||||||
|
#print(row)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
'''
|
'''
|
||||||
db_connection = mariadb.connect(
|
db_connection = mariadb.connect(
|
||||||
user="root",
|
user="root",
|
||||||
|
@ -34,13 +49,15 @@ db_connection = mariadb.connect(
|
||||||
|
|
||||||
)
|
)
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
'''
|
||||||
db_connection = psycopg2.connect(
|
db_connection = psycopg2.connect(
|
||||||
host="localhost",
|
host="localhost",
|
||||||
database="dbilayer",
|
database="dbilayer",
|
||||||
user='postgres',
|
user='postgres',
|
||||||
password='123456',
|
password='123456',
|
||||||
port= '5432'
|
port= '5432'
|
||||||
)
|
)'''
|
||||||
# Registration for user
|
# Registration for user
|
||||||
'''
|
'''
|
||||||
def registerUserNow(tablename, fields, userData):
|
def registerUserNow(tablename, fields, userData):
|
||||||
|
@ -99,15 +116,33 @@ def getUserActivity(tablename, fields, userData):
|
||||||
|
|
||||||
|
|
||||||
def readallWithoutCondition(tablename, fields,column_index_of):
|
def readallWithoutCondition(tablename, fields,column_index_of):
|
||||||
my_database = db_connection.cursor()
|
my_database = session
|
||||||
sql_query = "SELECT {} FROM {}".format(fields,tablename)
|
sql_query = "SELECT {} FROM {};".format(fields,tablename)
|
||||||
print(sql_query)
|
print(sql_query)
|
||||||
try:
|
#my_database.execute(sql_query)
|
||||||
my_database.execute(sql_query)
|
#rows = my_database.fetchall()
|
||||||
rows = my_database.fetchall()
|
#print(rows)
|
||||||
print(rows)
|
result_set=my_database.execute(sql_query)
|
||||||
|
#rows = my_database.one()
|
||||||
|
#print(rows)
|
||||||
dictionary=[]
|
dictionary=[]
|
||||||
for each in rows:
|
for each in result_set:
|
||||||
|
eachdict={}
|
||||||
|
indexof=0
|
||||||
|
for e in each:
|
||||||
|
eachdict[column_index_of[indexof]]=e
|
||||||
|
indexof+=1
|
||||||
|
dictionary.append(eachdict)
|
||||||
|
retval = "Success"
|
||||||
|
return dictionary
|
||||||
|
|
||||||
|
'''
|
||||||
|
try:
|
||||||
|
result_set=my_database.execute(sql_query)
|
||||||
|
#rows = my_database.one()
|
||||||
|
#print(rows)
|
||||||
|
dictionary=[]
|
||||||
|
for each in result_set:
|
||||||
eachdict={}
|
eachdict={}
|
||||||
indexof=0
|
indexof=0
|
||||||
for e in each:
|
for e in each:
|
||||||
|
@ -120,16 +155,17 @@ def readallWithoutCondition(tablename, fields,column_index_of):
|
||||||
print("database error: ---->", err)
|
print("database error: ---->", err)
|
||||||
retval = "Failure"
|
retval = "Failure"
|
||||||
return retval
|
return retval
|
||||||
|
'''
|
||||||
|
|
||||||
def readallWithCondition(tablename, fields, condition,column_index_of):
|
def readallWithCondition(tablename, fields, condition,column_index_of):
|
||||||
my_database = db_connection.cursor()
|
my_database = session
|
||||||
sql_query = "SELECT {} FROM {} WHERE {}".format(fields,tablename,condition)
|
sql_query = 'SELECT {} FROM {} WHERE {}'.format(fields,tablename,condition,column_index_of)
|
||||||
print(sql_query)
|
print(sql_query)
|
||||||
try:
|
try:
|
||||||
my_database.execute(sql_query)
|
result_set=my_database.execute(sql_query)
|
||||||
rows = my_database.fetchall()
|
#rows = my_database.fetchall()
|
||||||
dictionary=[]
|
dictionary=[]
|
||||||
for each in rows:
|
for each in result_set:
|
||||||
eachdict={}
|
eachdict={}
|
||||||
indexof=0
|
indexof=0
|
||||||
for e in each:
|
for e in each:
|
||||||
|
@ -142,15 +178,14 @@ def readallWithCondition(tablename, fields, condition,column_index_of):
|
||||||
retval = "Failure"
|
retval = "Failure"
|
||||||
return retval
|
return retval
|
||||||
|
|
||||||
def readOneWithcondition(tablename, fields, cond,column_index_of):
|
def readOneWithcondition(tablename, fields, cond, column_index_of):
|
||||||
my_database = db_connection.cursor()
|
my_database = session
|
||||||
sql_query = "SELECT {} FROM {} WHERE {}".format(fields,tablename,cond)
|
sql_query = "SELECT {} FROM {} WHERE {} allow filtering;".format(fields,tablename,cond, column_index_of)
|
||||||
print(sql_query)
|
print(sql_query)
|
||||||
# try:
|
# try:
|
||||||
my_database.execute(sql_query)
|
result_set=my_database.execute(sql_query)
|
||||||
rows = my_database.fetchall()
|
|
||||||
dictionary=[]
|
dictionary=[]
|
||||||
for each in rows:
|
for each in result_set:
|
||||||
eachdict={}
|
eachdict={}
|
||||||
indexof=0
|
indexof=0
|
||||||
for e in each:
|
for e in each:
|
||||||
|
@ -164,12 +199,14 @@ def readOneWithcondition(tablename, fields, cond,column_index_of):
|
||||||
# return retval
|
# return retval
|
||||||
|
|
||||||
def insertIntoDBWithoutCondition(tablename,fields,data):
|
def insertIntoDBWithoutCondition(tablename,fields,data):
|
||||||
my_database=db_connection.cursor()
|
x = data
|
||||||
sql_query="INSERT INTO {} ({}) VALUES({})".format(tablename, fields, data)
|
print(x)
|
||||||
|
my_database=session
|
||||||
|
sql_query="INSERT INTO {} ({}) VALUES {};".format(tablename,fields,data)
|
||||||
print(sql_query)
|
print(sql_query)
|
||||||
try:
|
try:
|
||||||
my_database.execute(sql_query)
|
my_database.execute(sql_query)
|
||||||
db_connection.commit()
|
#session.shutdown()
|
||||||
retval = "Success"
|
retval = "Success"
|
||||||
return retval
|
return retval
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
|
@ -178,12 +215,12 @@ def insertIntoDBWithoutCondition(tablename,fields,data):
|
||||||
return retval
|
return retval
|
||||||
|
|
||||||
def updateValuesIndb(tablename,updatestatement,condition):
|
def updateValuesIndb(tablename,updatestatement,condition):
|
||||||
my_database = db_connection.cursor()
|
my_database = session
|
||||||
sql_statement = "UPDATE " + tablename + " SET " + updatestatement + " WHERE " + condition + ""
|
sql_statement = "UPDATE " + tablename + " SET " + updatestatement + " WHERE " + condition + ";"
|
||||||
print(sql_statement)
|
print(sql_statement)
|
||||||
try:
|
try:
|
||||||
my_database.execute(sql_statement)
|
my_database.execute(sql_statement)
|
||||||
db_connection.commit()
|
#session.commit()
|
||||||
retval = "Success"
|
retval = "Success"
|
||||||
return retval
|
return retval
|
||||||
except:
|
except:
|
||||||
|
|
10505
dbilayer_cassandra.postman_collection.json
Normal file
10505
dbilayer_cassandra.postman_collection.json
Normal file
File diff suppressed because it is too large
Load Diff
615
queries list
Normal file
615
queries list
Normal file
|
@ -0,0 +1,615 @@
|
||||||
|
|
||||||
|
|
||||||
|
#dbacl
|
||||||
|
|
||||||
|
CREATE TABLE dbacl (
|
||||||
|
id text,
|
||||||
|
dbaclname VARCHAR,
|
||||||
|
dbuserid INT,
|
||||||
|
dbaclid INT,
|
||||||
|
status VARCHAR
|
||||||
|
PRIMARY KEY (dbaclid, status));
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE dbacl (
|
||||||
|
id text,
|
||||||
|
dbaclname VARCHAR,
|
||||||
|
dbuserid INT,
|
||||||
|
dbaclid INT PRIMARY KEY,
|
||||||
|
status VARCHAR,
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO dbacl (dbaclid, dbaclname, dbuserid, id, status) VALUES (1, 'abcACL', 1, 'xyz', '1');
|
||||||
|
INSERT INTO dbacl (dbaclid, dbaclname, dbuserid, id, status) VALUES (2, 'xyzAcl', 2, 'abc', '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbauth
|
||||||
|
|
||||||
|
CREATE TABLE dbauth (
|
||||||
|
id text,
|
||||||
|
dbauthdesc TEXT,
|
||||||
|
dbauthid INT PRIMARY KEY,
|
||||||
|
status VARCHAR
|
||||||
|
);
|
||||||
|
|
||||||
|
INSERT INTO dbauth (dbauthid, dbauthdesc, id, status) VALUES (1,'abcAuth','xyz','1');
|
||||||
|
INSERT INTO dbauth (dbauthid, dbauthdesc, id, status) VALUES (2,'xyzAuth','nnn','1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbbilling
|
||||||
|
|
||||||
|
CREATE TABLE dbbilling (
|
||||||
|
id text,
|
||||||
|
dbbillingname VARCHAR,
|
||||||
|
dbbillingid INT PRIMARY KEY,
|
||||||
|
dbcustomerid INT,
|
||||||
|
amount VARCHAR,
|
||||||
|
dbbillingdate VARCHAR,
|
||||||
|
dbbillinglastupdate VARCHAR,
|
||||||
|
dbinvoiceid INT,
|
||||||
|
status VARCHAR);
|
||||||
|
|
||||||
|
INSERT INTO dbbilling (id, dbbillingname, dbbillingid, dbcustomerid, amount, dbbillingdate, dbbillinglastupdate, dbinvoiceid, status) VALUES ('1', 'abcBILLING', 1, 1, '1200', '12jan', '10jan', 1, '1');
|
||||||
|
INSERT INTO dbbilling (id, dbbillingname, dbbillingid, dbcustomerid, amount, dbbillingdate, dbbillinglastupdate, dbinvoiceid, status) VALUES ('2', 'xyzBILLING', 2, 2, '1500', '8jan', '10dec', 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbcategory
|
||||||
|
CREATE TABLE dbcategory (
|
||||||
|
id text,
|
||||||
|
dbcategoryname varchar,
|
||||||
|
dbcategoryid int PRIMARY KEY,
|
||||||
|
dbschemaid int,
|
||||||
|
dbcategorydesc varchar,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbcategory (id, dbcategoryname, dbcategoryid, dbschemaid, dbcategorydesc, status) VALUES ('1', 'abcCAT', 1, 1, 'category1', '1');
|
||||||
|
INSERT INTO dbcategory (id, dbcategoryname, dbcategoryid, dbschemaid, dbcategorydesc, status) VALUES ('2', 'xyzCAT', 2, 2, 'category2', '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbcharges
|
||||||
|
CREATE TABLE dbcharges (
|
||||||
|
id text,
|
||||||
|
dbchargename varchar,
|
||||||
|
dbchargeid int PRIMARY KEY,
|
||||||
|
dbschemaid int,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbcharges (id, dbchargename, dbchargeid, dbschemaid, status) VALUES ('1', 'abcCHARGE', 1, 1, '1');
|
||||||
|
INSERT INTO dbcharges (id, dbchargename, dbchargeid, dbschemaid, status) VALUES ('2', 'xyzCHARGE', 2, 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbcity
|
||||||
|
CREATE TABLE IF NOT EXISTS dbcity (
|
||||||
|
id text,
|
||||||
|
dbcityname varchar,
|
||||||
|
dbcityid int PRIMARY KEY,
|
||||||
|
dbstateid int,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbcity (id, dbcityname, dbcityid, dbstateid, status) VALUES ('1', 'guntur', 1, 1, '1');
|
||||||
|
INSERT INTO dbcity (id, dbcityname, dbcityid, dbstateid, status) VALUES ('2', 'bandarwela', 2, 2, '1');
|
||||||
|
|
||||||
|
#dbcollection
|
||||||
|
CREATE TABLE dbcollection (
|
||||||
|
id text,
|
||||||
|
dbcollectionname varchar,
|
||||||
|
dbcollectionid int PRIMARY KEY,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbcollection (id, dbcollectionname, dbcollectionid, status) VALUES ('1', 'abcdCOLL', 1, '1');
|
||||||
|
INSERT INTO dbcollection (id, dbcollectionname, dbcollectionid, status) VALUES ('2', 'xyzCOLL', 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE dbconnectionstring (
|
||||||
|
id text ,
|
||||||
|
dbconnectionstringname varchar ,
|
||||||
|
dbconnectionstringid int PRIMARY KEY ,
|
||||||
|
dbusernameid int ,
|
||||||
|
dbpasswordid int ,
|
||||||
|
dbipaddressid int ,
|
||||||
|
dbtypeid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbconnectionstring (id, dbconnectionstringname, dbconnectionstringid, dbusernameid, dbpasswordid, dbipaddressid, dbtypeid, status) VALUES ('1', 'abcCONNECTION', 1, 1, 1, 1, 1, '1');
|
||||||
|
INSERT INTO dbconnectionstring (id, dbconnectionstringname, dbconnectionstringid, dbusernameid, dbpasswordid, dbipaddressid, dbtypeid, status)VALUES ('2', 'xyzCONNECTION', 2, 2, 2, 2, 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbcountry
|
||||||
|
CREATE TABLE dbcountry (
|
||||||
|
id text ,
|
||||||
|
dbcountryname varchar ,
|
||||||
|
dbcountryid int PRIMARY KEY ,
|
||||||
|
dbcountrydesc varchar ,
|
||||||
|
status varchar );
|
||||||
|
|
||||||
|
INSERT INTO dbcountry (id, dbcountryname, dbcountryid, dbcountrydesc, status) VALUES ('1', 'india', 1, 'best country', '1');
|
||||||
|
INSERT INTO dbcountry (id, dbcountryname, dbcountryid, dbcountrydesc, status) VALUES ('2', 'bangladesh', 2, 'brinjal', '1');
|
||||||
|
|
||||||
|
#dbcustomer
|
||||||
|
CREATE TABLE dbcustomer (
|
||||||
|
id text ,
|
||||||
|
dbfirstname varchar ,
|
||||||
|
dbcustomerid int PRIMARY KEY ,
|
||||||
|
dblastname varchar ,
|
||||||
|
dbemailid int ,
|
||||||
|
dbuserid int ,
|
||||||
|
dbaddress varchar ,
|
||||||
|
dbcreatedate varchar ,
|
||||||
|
dblastupdated varchar ,
|
||||||
|
dbplanid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbcustomer (id, dbfirstname, dbcustomerid, dblastname, dbemailid, dbuserid, dbaddress, dbcreatedate, dblastupdated, dbplanid, status) VALUES ('1', 'ab', 1, 'c', 1, 1, 'madhapur', '20march2023', 'yesterday', 1, '1');
|
||||||
|
INSERT INTO dbcustomer (id, dbfirstname, dbcustomerid, dblastname, dbemailid, dbuserid, dbaddress, dbcreatedate, dblastupdated, dbplanid, status) VALUES ('2', 'xy', 2, 'z', 2, 2, 'sainikpuri', '19march2023', 'today', 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbdeletenote
|
||||||
|
CREATE TABLE dbdeletenote (
|
||||||
|
id text ,
|
||||||
|
dbdeletenotename varchar ,
|
||||||
|
dbdeletenoteid int PRIMARY KEY,
|
||||||
|
dbdeletenotedesc varchar ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbdeletenote (id, dbdeletenotename, dbdeletenoteid, dbdeletenotedesc, status) VALUES ('1', 'abcdDELETENOTE', 1, 'deletenote12', '1');
|
||||||
|
INSERT INTO dbdeletenote (id, dbdeletenotename, dbdeletenoteid, dbdeletenotedesc, status) VALUES ('2', 'xyzDELETENOTE', 2, 'deletenote2', '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbdeploy
|
||||||
|
CREATE TABLE dbdeploy (
|
||||||
|
id text ,
|
||||||
|
dbdeployname varchar ,
|
||||||
|
dbdeployid int PRIMARY KEY ,
|
||||||
|
dbbillingid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbdeploy (id, dbdeployname, dbdeployid, dbbillingid, status) VALUES ('1', 'abcDEPLOY', 1, 1, '1');
|
||||||
|
INSERT INTO dbdeploy (id, dbdeployname, dbdeployid, dbbillingid, status) VALUES ('2', 'xyzDEPLOY', 2, 2, '1');
|
||||||
|
|
||||||
|
#dbemail
|
||||||
|
CREATE TABLE dbemail (
|
||||||
|
id text ,
|
||||||
|
dbemail varchar ,
|
||||||
|
dbemailid int PRIMARY KEY,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbemail (id, dbemail, dbemailid, status) VALUES ('1', 'abcd@gmail.com', 1, '1');
|
||||||
|
INSERT INTO dbemail (id, dbemail, dbemailid, status) VALUES ('2', 'xyz@gmail.com', 2, '1');
|
||||||
|
|
||||||
|
#dbencoding
|
||||||
|
CREATE TABLE dbencoding (
|
||||||
|
id text ,
|
||||||
|
dbencodingdesc varchar ,
|
||||||
|
dbencodingid int PRIMARY KEY ,
|
||||||
|
dbencodingname varchar ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbencoding (id, dbencodingdesc, dbencodingid, dbencodingname, status) VALUES ('1', 'xyzENC', 1, 'encoding1', '1');
|
||||||
|
INSERT INTO dbencoding (id, dbencodingdesc, dbencodingid, dbencodingname, status) VALUES ('2', 'abcENC', 2, 'encoding2', '1');
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE dbgeninvoice (
|
||||||
|
id text ,
|
||||||
|
dbgeninvoiceid int PRIMARY KEY,
|
||||||
|
dbgeninvoicetype varchar ,
|
||||||
|
dbinvoiceid int ,
|
||||||
|
status varchar)
|
||||||
|
|
||||||
|
|
||||||
|
INSERT INTO dbgeninvoice (id, dbgeninvoiceid, dbgeninvoicetype, dbinvoiceid, status) VALUES ('1', 1, 'abcGENINVOCE', 1, '1');
|
||||||
|
INSERT INTO dbgeninvoice (id, dbgeninvoiceid, dbgeninvoicetype, dbinvoiceid, status) VALUES ('2', 2, 'xyzGENINVOCE', 2, '1');
|
||||||
|
|
||||||
|
#dbgst
|
||||||
|
CREATE TABLE dbgst (
|
||||||
|
id text ,
|
||||||
|
dbgstnumber varchar ,
|
||||||
|
dbgstid int PRIMARY KEY,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbgst (id, dbgstnumber, dbgstid, status) VALUES ('1', '12345', 1, '1');
|
||||||
|
INSERT INTO dbgst (id, dbgstnumber, dbgstid, status) VALUES ('2', '54321', 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbhash
|
||||||
|
CREATE TABLE dbhash (
|
||||||
|
id text ,
|
||||||
|
dbhashname varchar ,
|
||||||
|
dbhashid int PRIMARY KEY,
|
||||||
|
dbhashtype varchar ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbhash (id, dbhashname, dbhashid, dbhashtype, status) VALUES ('1', 'abcHASH', 1, 'hash1', '1');
|
||||||
|
INSERT INTO dbhash (id, dbhashname, dbhashid, dbhashtype, status) VALUES ('2', 'xyzHASH', 2, 'hash2', '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbinstance
|
||||||
|
CREATE TABLE dbinstance (
|
||||||
|
id text ,
|
||||||
|
dbinstancename varchar ,
|
||||||
|
dbinstanceid int PRIMARY KEY,
|
||||||
|
dbportid int ,
|
||||||
|
dbipaddressid int ,
|
||||||
|
dbusernameid int ,
|
||||||
|
dbpasswordid int ,
|
||||||
|
dbschemaid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbinstance (id, dbinstancename, dbinstanceid, dbportid, dbipaddressid, dbusernameid, dbpasswordid, dbschemaid, status) VALUES ('1', 'abcINSTANCE', 1, 1, 1, 1, 1, 1, '1');
|
||||||
|
INSERT INTO dbinstance (id, dbinstancename, dbinstanceid, dbportid, dbipaddressid, dbusernameid, dbpasswordid, dbschemaid, status) VALUES ('2', 'xyzINSTANCE', 2, 2, 2, 2, 2, 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbinvoice
|
||||||
|
CREATE TABLE dbinvoice (
|
||||||
|
id text ,
|
||||||
|
dbinvoicenumber varchar ,
|
||||||
|
dbinvoiceid int PRIMARY KEY ,
|
||||||
|
dbinvoiceperiodstartdate varchar ,
|
||||||
|
dbinvoicelineitemid int ,
|
||||||
|
dbcustomerid int ,
|
||||||
|
dbinvoicedate varchar ,
|
||||||
|
dbinvoiceperiodenddate varchar ,
|
||||||
|
dbchargeid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbinvoice (id, dbinvoicenumber, dbinvoiceid, dbinvoiceperiodstartdate, dbinvoicelineitemid, dbcustomerid, dbinvoicedate, dbinvoiceperiodenddate, dbchargeid, status) VALUES ('1', '12345', 1, '12feb', 1, 1, '20march', '15feb', 1, '1');
|
||||||
|
INSERT INTO dbinvoice (id, dbinvoicenumber, dbinvoiceid, dbinvoiceperiodstartdate, dbinvoicelineitemid, dbcustomerid, dbinvoicedate, dbinvoiceperiodenddate, dbchargeid, status) VALUES ('2', '54321', 2, '13feb', 2, 2, '19march', '21feb', 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbinvoicelineitem
|
||||||
|
CREATE TABLE dbinvoicelineitem (
|
||||||
|
id text ,
|
||||||
|
dbinvoicelineitemname varchar ,
|
||||||
|
dbinvoicelineitemid int PRIMARY KEY ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbinvoicelineitem (id, dbinvoicelineitemname, dbinvoicelineitemid, status) VALUES ('1', 'abcLINEITEM', 1, '1');
|
||||||
|
INSERT INTO dbinvoicelineitem (id, dbinvoicelineitemname, dbinvoicelineitemid, status) VALUES ('2', 'xyzLINEITEM', 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbipaddress
|
||||||
|
CREATE TABLE dbipaddress (
|
||||||
|
id text ,
|
||||||
|
dbipaddressvalue varchar ,
|
||||||
|
dbipaddressid int PRIMARY KEY,
|
||||||
|
dbipaddressdesc varchar ,
|
||||||
|
dbusernameid int ,
|
||||||
|
dbpasswordid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbipaddress (id, dbipaddressvalue, dbipaddressid, dbipaddressdesc, dbusernameid, dbpasswordid, status) VALUES ('1', '12.34.56.78', 1, 'ipaddress1', 1, 1, '1');
|
||||||
|
INSERT INTO dbipaddress (id, dbipaddressvalue, dbipaddressid, dbipaddressdesc, dbusernameid, dbpasswordid, status) VALUES ('2', '87.65.43.21', 2, 'ipaddress2', 2, 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbkyc
|
||||||
|
CREATE TABLE dbkyc (
|
||||||
|
id text ,
|
||||||
|
dbkycdesc varchar ,
|
||||||
|
dbkycid int PRIMARY KEY ,
|
||||||
|
dbtypeid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbkyc (id, dbkycdesc, dbkycid, dbtypeid, status) VALUES ('1', 'abcKYC', 1, 1, '1');
|
||||||
|
INSERT INTO dbkyc (id, dbkycdesc, dbkycid, dbtypeid, status) VALUES ('2', 'xyzKYC', 2, 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE dbname (
|
||||||
|
id text ,
|
||||||
|
dbname varchar ,
|
||||||
|
dbnameid int PRIMARY KEY,
|
||||||
|
dbschemaid int ,
|
||||||
|
dbcategoryid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbname (id, dbname, dbnameid, dbschemaid, dbcategoryid, status) VALUES ('1', 'mySQL', 1, 1, 1, '1');
|
||||||
|
INSERT INTO dbname (id, dbname, dbnameid, dbschemaid, dbcategoryid, status) VALUES ('2', 'msSQL', 2, 2, 2, '1');
|
||||||
|
|
||||||
|
#dborders
|
||||||
|
CREATE TABLE dborders (
|
||||||
|
id text ,
|
||||||
|
dborderid int PRIMARY KEY,
|
||||||
|
dbordername varchar ,
|
||||||
|
dbbillingid int ,
|
||||||
|
dbpackageid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dborders (id, dborderid, dbordername, dbbillingid, dbpackageid, status) VALUES ('1', 1, 'abcORDERS', 1, 1, '1');
|
||||||
|
INSERT INTO dborders (id, dborderid, dbordername, dbbillingid, dbpackageid, status) VALUES ('2', 2, 'xyzORDERS', 2, 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dborganization
|
||||||
|
CREATE TABLE dborganization (
|
||||||
|
id text ,
|
||||||
|
dborganizationname varchar ,
|
||||||
|
dborganizationid int PRIMARY KEY ,
|
||||||
|
dborganizationdesc varchar ,
|
||||||
|
dbpanid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dborganization (id, dborganizationname, dborganizationid, dborganizationdesc, dbpanid, status) VALUES ('1', 'abcORG', 1, 'organisation1', 1, '1');
|
||||||
|
INSERT INTO dborganization (id, dborganizationname, dborganizationid, dborganizationdesc, dbpanid, status) VALUES ('2', 'xyzORG', 2, 'organisation2', 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbpackage
|
||||||
|
CREATE TABLE dbpackage (
|
||||||
|
id text ,
|
||||||
|
dbpackagename varchar ,
|
||||||
|
dbpackageid int PRIMARY KEY,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbpackage (id, dbpackagename, dbpackageid, status) VALUES ('1', 'abcPACKAGE', 1, '1');
|
||||||
|
INSERT INTO dbpackage (id, dbpackagename, dbpackageid, status) VALUES ('2', 'xyzPACKAGE', 2, '1');
|
||||||
|
|
||||||
|
#dbpan
|
||||||
|
CREATE TABLE dbpan (
|
||||||
|
id text ,
|
||||||
|
dbpannumber varchar ,
|
||||||
|
dbpanid int PRIMARY KEY ,
|
||||||
|
dbemailid int ,
|
||||||
|
dbphoneid int ,
|
||||||
|
dbkycid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbpan (id, dbpannumber, dbpanid, dbemailid, dbphoneid, dbkycid, status) VALUES ('1', 'ABC2345678', 1, 1, 1, 1, '1');
|
||||||
|
INSERT INTO dbpan (id, dbpannumber, dbpanid, dbemailid, dbphoneid, dbkycid, status) VALUES ('2', 'XYZ9876543', 2, 2, 2, 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbpassword
|
||||||
|
CREATE TABLE dbpassword (
|
||||||
|
id text ,
|
||||||
|
dbpassword varchar ,
|
||||||
|
dbpasswordid int PRIMARY KEY,
|
||||||
|
dbpassworddesc varchar ,
|
||||||
|
dbusernameid int ,
|
||||||
|
dbcategoryid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbpassword (id, dbpassword, dbpasswordid, dbpassworddesc, dbusernameid, dbcategoryid, status) VALUES ('1', 'abc@123', 1, 'password1', 1, 1, '1');
|
||||||
|
INSERT INTO dbpassword (id, dbpassword, dbpasswordid, dbpassworddesc, dbusernameid, dbcategoryid, status) VALUES ('2', 'xyz@123', 2, 'password2', 2, 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbpermission
|
||||||
|
CREATE TABLE dbpermission (
|
||||||
|
id text ,
|
||||||
|
dbpermissionname varchar ,
|
||||||
|
dbpermissionid int PRIMARY KEY,
|
||||||
|
dbtypeid int ,
|
||||||
|
dbaclid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbpermission (id, dbpermissionname, dbpermissionid, dbtypeid, dbaclid, status) VALUES ('1', 'abcPERMISSION', 1, 1, 1, '1');
|
||||||
|
INSERT INTO dbpermission (id, dbpermissionname, dbpermissionid, dbtypeid, dbaclid, status) VALUES ('2', 'xyzPERMISSION', 2, 2, 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbphone
|
||||||
|
CREATE TABLE dbphone (
|
||||||
|
id text ,
|
||||||
|
dbphonenumber varchar ,
|
||||||
|
dbphoneid int PRIMARY KEY,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbphone (id, dbphonenumber, dbphoneid, status) VALUES ('1', '1234567891', 1, '1');
|
||||||
|
INSERT INTO dbphone (id, dbphonenumber, dbphoneid, status) VALUES ('2', '2134567876', 2, '1');
|
||||||
|
|
||||||
|
#dbpincode
|
||||||
|
CREATE TABLE dbpincode (
|
||||||
|
id text ,
|
||||||
|
dbpincode varchar ,
|
||||||
|
dbpincodeid int PRIMARY KEY ,
|
||||||
|
dbcityid int ,
|
||||||
|
dbstateid int ,
|
||||||
|
dbcountryid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbpincode (id, dbpincode, dbpincodeid, dbcityid, dbstateid, dbcountryid, status) VALUES ('1', '522003', 1, 1, 1, 1, '1');
|
||||||
|
INSERT INTO dbpincode (id, dbpincode, dbpincodeid, dbcityid, dbstateid, dbcountryid, status) VALUES ('2', '431200', 2, 2, 2, 2, '1');
|
||||||
|
|
||||||
|
#dbplan
|
||||||
|
CREATE TABLE dbplan (
|
||||||
|
id text ,
|
||||||
|
dbplanname varchar ,
|
||||||
|
dbplanid int PRIMARY KEY,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbplan (id, dbplanname, dbplanid, status) VALUES ('1', 'abcPLAN', 1, '1');
|
||||||
|
INSERT INTO dbplan (id, dbplanname, dbplanid, status) VALUES ('2', 'xyzPLAN', 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbplanbilling
|
||||||
|
CREATE TABLE dbplanbilling (
|
||||||
|
id text ,
|
||||||
|
dbplanbillingname varchar ,
|
||||||
|
dbplanbillingid int PRIMARY KEY,
|
||||||
|
dbpackageid int ,
|
||||||
|
dbplanid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbplanbilling (id, dbplanbillingname, dbplanbillingid, dbpackageid, dbplanid, status) VALUES ('1', 'abcBILLING', 1, 1, 1, '1');
|
||||||
|
INSERT INTO dbplanbilling (id, dbplanbillingname, dbplanbillingid, dbpackageid, dbplanid, status) VALUES ('2', 'xyzBILLING', 2, 2, 2, '1');
|
||||||
|
|
||||||
|
#dbplans
|
||||||
|
CREATE TABLE dbplans (
|
||||||
|
id text ,
|
||||||
|
dbplansid int PRIMARY KEY,
|
||||||
|
dbplansname varchar ,
|
||||||
|
dbtypeid int ,
|
||||||
|
dbbillingid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbplans (id, dbplansid, dbplansname, dbtypeid, dbbillingid, status) VALUES ('1', 1, 'abcPLAN', 1, 1, '1');
|
||||||
|
INSERT INTO dbplans (id, dbplansid, dbplansname, dbtypeid, dbbillingid, status) VALUES ('2', 2, 'xyzPLAN', 2, 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbpo
|
||||||
|
CREATE TABLE dbpo (
|
||||||
|
id text ,
|
||||||
|
dbponumber varchar ,
|
||||||
|
dbpoid int PRIMARY KEY,
|
||||||
|
dbinvoiceid int ,
|
||||||
|
dbbillingid int ,
|
||||||
|
dbcustomerid int ,
|
||||||
|
dborganizationid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbpo (id, dbponumber, dbpoid, dbinvoiceid, dbbillingid, dbcustomerid, dborganizationid, status) VALUES ('1', '12345678', 1, 1, 1, 1, 1, '1');
|
||||||
|
INSERT INTO dbpo (id, dbponumber, dbpoid, dbinvoiceid, dbbillingid, dbcustomerid, dborganizationid, status) VALUES ('2', '76543211', 2, 2, 2, 2, 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbportnumber
|
||||||
|
CREATE TABLE dbportnumber (
|
||||||
|
id text ,
|
||||||
|
dbportnumbername varchar ,
|
||||||
|
dbportid int PRIMARY KEY,
|
||||||
|
dbportnumbercategory varchar ,
|
||||||
|
dbportnumberdesc varchar ,
|
||||||
|
dbcountryid int ,
|
||||||
|
dbpincodeid int ,
|
||||||
|
dbusernameid int ,
|
||||||
|
dbpasswordid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbportnumber (id, dbportnumbername, dbportid, dbportnumbercategory, dbportnumberdesc, dbcountryid, dbpincodeid, dbusernameid, dbpasswordid, status) VALUES ('1', 'abcPORT', 1, 'local1', 'portnumber1', 1, 1, 1, 1, '1');
|
||||||
|
INSERT INTO dbportnumber (id, dbportnumbername, dbportid, dbportnumbercategory, dbportnumberdesc, dbcountryid, dbpincodeid, dbusernameid, dbpasswordid, status) VALUES ('2', 'xyzPORT', 2, 'local2', 'portnumber2', 2, 2, 2, 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbprod
|
||||||
|
CREATE TABLE dbprod (
|
||||||
|
id text ,
|
||||||
|
dbprodname varchar ,
|
||||||
|
dbprodid int PRIMARY KEY ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbprod (id, dbprodname, dbprodid, status) VALUES ('1', 'abcPROD', 1, '1');
|
||||||
|
INSERT INTO dbprod (id, dbprodname, dbprodid, status) VALUES ('2', 'xyzPROD', 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbrole
|
||||||
|
CREATE TABLE dbrole (
|
||||||
|
id text ,
|
||||||
|
dbrolename varchar ,
|
||||||
|
dbroleid int PRIMARY KEY,
|
||||||
|
dbuserid int ,
|
||||||
|
dbroledesc varchar ,
|
||||||
|
dbpermissionid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbrole (id, dbrolename, dbroleid, dbuserid, dbroledesc, dbpermissionid, status) VALUES ('1', 'VP', 1, 1, 'vice president', 1, '1');
|
||||||
|
INSERT INTO dbrole (id, dbrolename, dbroleid, dbuserid, dbroledesc, dbpermissionid, status) VALUES ('2', 'HOD', 2, 2, 'head of department', 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbschema
|
||||||
|
CREATE TABLE dbschema (
|
||||||
|
id text ,
|
||||||
|
dbschemaname varchar ,
|
||||||
|
dbschemaid int PRIMARY KEY ,
|
||||||
|
dbschemadesc varchar ,
|
||||||
|
dbcollectionid int ,
|
||||||
|
dbauthid int ,
|
||||||
|
dbencodingid int ,
|
||||||
|
dbvariabletypeid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbschema (id, dbschemaname, dbschemaid, dbschemadesc, dbcollectionid, dbauthid, dbencodingid, dbvariabletypeid, status) VALUES ('1', 'schema1', 1, 'ABCschema', 1, 1, 2, 1, '1');
|
||||||
|
INSERT INTO dbschema (id, dbschemaname, dbschemaid, dbschemadesc, dbcollectionid, dbauthid, dbencodingid, dbvariabletypeid, status) VALUES ('2', 'schema2', 2, 'XYZschema', 2, 2, 1, 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbstate
|
||||||
|
CREATE TABLE dbstate (
|
||||||
|
id text ,
|
||||||
|
dbstatename varchar ,
|
||||||
|
dbstateid int PRIMARY KEY,
|
||||||
|
dbcountryid int ,
|
||||||
|
dbstatedesc varchar ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbstate (id, dbstatename, dbstateid, dbcountryid, dbstatedesc, status) VALUES ('1', 'andhra', 1, 1, 'spices', '1');
|
||||||
|
INSERT INTO dbstate (id, dbstatename, dbstateid, dbcountryid, dbstatedesc, status) VALUES ('2', 'badulla', 2, 2, 'uva', '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbtype
|
||||||
|
CREATE TABLE dbtype (
|
||||||
|
id text ,
|
||||||
|
dbtypename varchar ,
|
||||||
|
dbtypeid int PRIMARY KEY,
|
||||||
|
dbtypedesc varchar ,
|
||||||
|
dbschemaid int ,
|
||||||
|
dbcategoryid int ,
|
||||||
|
dbinstanceid int ,
|
||||||
|
dbnameid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbtype (id, dbtypename, dbtypeid, dbtypedesc, dbschemaid, dbcategoryid, dbinstanceid, dbnameid, status) VALUES ('1', 'abcTYPE', 1, 'type1', 1, 1, 1, 1, '1');
|
||||||
|
INSERT INTO dbtype (id, dbtypename, dbtypeid, dbtypedesc, dbschemaid, dbcategoryid, dbinstanceid, dbnameid, status) VALUES ('2', 'xyzTYPE', 2, 'type2', 2, 2, 2, 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbauc
|
||||||
|
CREATE TABLE dbuac (
|
||||||
|
id text ,
|
||||||
|
dbuactype varchar ,
|
||||||
|
dbuacid int PRIMARY KEY,
|
||||||
|
dbroleid int ,
|
||||||
|
dbuacname varchar ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbuac (id, dbuactype, dbuacid, dbroleid, dbuacname, status) VALUES ('1', 'abcdUAC', 1, 1, 'uac12', '1');
|
||||||
|
INSERT INTO dbuac (id, dbuactype, dbuacid, dbroleid, dbuacname, status) VALUES ('2', 'xyzUAC', 2, 2, 'uac2', '1');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#dbusagelimit
|
||||||
|
CREATE TABLE dbusagelimit (
|
||||||
|
id text ,
|
||||||
|
dbusagelimitmin int ,
|
||||||
|
dbusagelimitid int PRIMARY KEY,
|
||||||
|
dbschemaid int ,
|
||||||
|
dborganizationid int ,
|
||||||
|
dbroleid int ,
|
||||||
|
dbplanid int ,
|
||||||
|
dbusagelimitmax int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbusagelimit (id, dbusagelimitmin, dbusagelimitid, dbschemaid, dborganizationid, dbroleid, dbplanid, dbusagelimitmax, status) VALUES ('1', 100, 1, 1, 1, 1, 1, 1000, '1');
|
||||||
|
INSERT INTO dbusagelimit (id, dbusagelimitmin, dbusagelimitid, dbschemaid, dborganizationid, dbroleid, dbplanid, dbusagelimitmax, status) VALUES ('2', 200, 2, 2, 2, 2, 2, 2000, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbusername
|
||||||
|
CREATE TABLE dbusername (
|
||||||
|
id text ,
|
||||||
|
dbusername varchar ,
|
||||||
|
dbusernameid int PRIMARY KEY,
|
||||||
|
dbusernamedesc varchar ,
|
||||||
|
dbnameid int ,
|
||||||
|
dbcategoryid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
|
||||||
|
INSERT INTO dbusername (id, dbusername, dbusernameid, dbusernamedesc, dbnameid, dbcategoryid, status) VALUES ('1', 'suhaniY', 1, 'green_liked', 1, 1, '1');
|
||||||
|
INSERT INTO dbusername (id, dbusername, dbusernameid, dbusernamedesc, dbnameid, dbcategoryid, status) VALUES ('2', 'shivani', 2, 'yellow', 2, 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#dbusers
|
||||||
|
CREATE TABLE dbusers (
|
||||||
|
id text ,
|
||||||
|
dbuserstype varchar ,
|
||||||
|
dbuserid int PRIMARY KEY ,
|
||||||
|
dbusersname varchar ,
|
||||||
|
dbusersemail varchar ,
|
||||||
|
dbusersdp varchar ,
|
||||||
|
dbusersrole varchar ,
|
||||||
|
dbusernameid int ,
|
||||||
|
dbpasswordid int ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbusers (id, dbuserstype, dbuserid, dbusersname, dbusersemail, dbusersdp, dbusersrole, dbusernameid, dbpasswordid, status) VALUES ('1', 'fulltime', 1, 'suhaniUser', 'suhani@gmail.com', 'abc.url', 'engineer', 1, 1, '1');
|
||||||
|
INSERT INTO dbusers (id, dbuserstype, dbuserid, dbusersname, dbusersemail, dbusersdp, dbusersrole, dbusernameid, dbpasswordid, status) VALUES ('2', 'parttime', 2, 'shivaniUser', 'shivani@gmail.com', 'xyz.url', 'doctor', 2, 2, '1');
|
||||||
|
|
||||||
|
|
||||||
|
#dbvariabletype
|
||||||
|
CREATE TABLE dbvariabletype (
|
||||||
|
id text ,
|
||||||
|
dbvariabletypename varchar ,
|
||||||
|
dbvariabletypeid int PRIMARY KEY ,
|
||||||
|
status varchar);
|
||||||
|
|
||||||
|
INSERT INTO dbvariabletype (id, dbvariabletypename, dbvariabletypeid, status) VALUES ('1', 'abcdVAR', 1, '1');
|
||||||
|
INSERT INTO dbvariabletype (id, dbvariabletypename, dbvariabletypeid, status) VALUES ('2', 'xyzVAR', 2, '1');
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
reqhandlers/__pycache__/dbusername.cpython-38.pyc
Normal file
BIN
reqhandlers/__pycache__/dbusername.cpython-38.pyc
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user