@@ -8,13 +8,13 @@ async function insertAllFormData() {
8
8
9
9
// 1 . Insert into forms
10
10
const [formResult] = await connection .execute (
11
- ` INSERT INTO forms (
12
- form_type, farmer_name, age, mobile, district, block, panchayat, hamlet,
11
+ ` INSERT INTO forms (
12
+ farmer_name, age, mobile, district, block, panchayat, hamlet,
13
13
id_type, id_number, gender, spouse, type_of_households, h_members,
14
14
hh_occupation, special_catog, caste, house_owner, type_of_house,
15
15
drinking_water, potability, domestic_water, toilet_avail, toilet_cond,
16
- household_education, user_id, created_at, lat, lon, mcode, status
17
- ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )` ,
16
+ household_education, user_id, created_at, lat, lon, status, form_type
17
+ ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)` ,
18
18
[2 , ' FARMER_NAME' , ' AGE' , 9876543210 , ' DISTRICT' , ' BLOCK' , ' PANCHAYAT' , ' HAMLET' ,
19
19
' ID_TYPE' , ' ID_NUMBER' , ' GENDER' , ' SPOUSE' , ' HOUSEHOLD_TYPE' , 5 ,
20
20
' OCCUPATION' , ' SPECIAL_CAT' , ' CASTE' , ' OWNER' , ' HOUSE_TYPE' ,
@@ -47,9 +47,9 @@ async function insertAllFormData() {
47
47
` INSERT INTO form_lands (
48
48
form_id, ownership, well_irrigation, area_irrigated, irrigated_lands,
49
49
patta, total_area, taluk, firka, revenue, crop_season, livestocks,
50
- sf_number, soil_type, land_to_benefit, date_of_ins, area_benefited,
50
+ sf_number, soil_type, land_to_benefit, area_benefited,
51
51
type_of_work, any_other_works, p_contribution, f_contribution,
52
- total_est, field_insp, site_app, date_of_app, area_benefited_postfunding, verified_by
52
+ total_est, field_insp, date_of_app
53
53
) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)` ,
54
54
[formId, ' OWNERSHIP' , ' WELL_IRR' , ' AREA_IRR' , ' IRRIG_LAND' ,
55
55
' PATTA' , ' TOT_AREA' , ' TALUK' , ' FIRKA' , ' REVENUE' , ' CROP_SEASON' , ' LIVESTOCK' ,
0 commit comments