sql
This commit is contained in:
@@ -10,6 +10,7 @@ Version History:
|
||||
v0.7 - ADDED unique constraint comments
|
||||
*************************************************************************************/
|
||||
|
||||
|
||||
SET search_path To transactional;
|
||||
drop table if exists test_master;
|
||||
|
||||
@@ -82,7 +83,7 @@ CREATE TABLE test_instance (
|
||||
Test_Start_Date date NULL,
|
||||
Test_End_Date date NULL,
|
||||
Type_of_Soil TEXT,
|
||||
soil_Moisture_Content_pct NUMERIC NULL,
|
||||
soil_Moisture_Content_pct Text NULL,
|
||||
Soil_Cone_Index NUMERIC NULL,
|
||||
soil_Bulk_Density_g_per_cc NUMERIC NULL,
|
||||
Field_Condition TEXT,
|
||||
@@ -156,7 +157,7 @@ CREATE TABLE test_instance_tractor_info (
|
||||
Mahindra_Model_YN TEXT NULL,
|
||||
Test_Tractor_YN TEXT NULL,
|
||||
FIP_Type TEXT,
|
||||
Hour_Meter_Reading INT NULL,
|
||||
Hour_Meter_Reading numeric NULL,
|
||||
Steering_Type TEXT,
|
||||
Transmission_Type TEXT,
|
||||
Transmission_Disc_Diam TEXT,
|
||||
@@ -743,7 +744,7 @@ CREATE TABLE field_perf_summary_implement_info (
|
||||
Dist_between_RHS_and_LHS_cage_wheel_Inner_Ring_mm INT NULL,
|
||||
No_of_angles_on_cage_wheel INT NULL,
|
||||
Soil_Type TEXT,
|
||||
soil_Moisture_Content_pct NUMERIC NULL,
|
||||
soil_Moisture_Content_pct text NULL,
|
||||
soil_Bulk_Density_g_per_cc NUMERIC NULL,
|
||||
Soil_Cone_Index NUMERIC NULL,
|
||||
Field_Condition TEXT,
|
||||
@@ -983,7 +984,7 @@ DROP TABLE if exists Drawbar_Perf_observations;
|
||||
Brake_Torque_Kg_m NUMERIC NULL,
|
||||
power_kw NUMERIC NULL,
|
||||
power_hp NUMERIC NULL,
|
||||
Eq_Cblock_row_number_Torque_Nm NUMERIC NULL,
|
||||
Eq_crank_torque_nm NUMERIC NULL,
|
||||
Fuel_Consumption_Kg_per_hr NUMERIC NULL,
|
||||
Fuel_Consumption_gm_per_hp_hr NUMERIC NULL,
|
||||
Fuel_Consumption_kg_per_kWh NUMERIC NULL,
|
||||
@@ -1340,7 +1341,7 @@ create table Budni_Hydraulic_Lifting_Capacity_test_Results (
|
||||
Height_of_lower_hitch_pt_above_ground_in_down_position_mm INT NULL,
|
||||
Vertical_move_ment_with_lifting_forces_mm INT NULL,
|
||||
Max_force_exerted_through_full_range_kN NUMERIC NULL,
|
||||
Corresponding_pressure_MPa INT NULL,
|
||||
Corresponding_pressure_MPa float NULL,
|
||||
Moment_about_rear_axle_kN_m NUMERIC NULL,
|
||||
Max_tilt_angle_of_mast_from_vertical_degrees NUMERIC NULL,
|
||||
Created_By TEXT NULL DEFAULT current_user,
|
||||
@@ -1440,7 +1441,7 @@ create table Budni_Noise_Atmospheric_conditions(
|
||||
Tractor_Model TEXT NULL,
|
||||
Tractor_Make TEXT NULL,
|
||||
Noise_position TEXT NULL, -- UKA4
|
||||
Background_noise_level_dBA INT NULL,
|
||||
Background_noise_level_dBA float NULL,
|
||||
Temperature_C INT NULL,
|
||||
Pressure_kPa NUMERIC NULL,
|
||||
Relative_humIdity_Pct INT NULL,
|
||||
@@ -1573,7 +1574,7 @@ create table Budni_Haulage_Perf_Results (
|
||||
Tractor_Model TEXT NULL,
|
||||
Tractor_Make TEXT NULL,
|
||||
Trailer_type TEXT NULL, -- UKA4
|
||||
Gross_mass_of_trailer_tonne INT NULL,
|
||||
Gross_mass_of_trailer_tonne float NULL,
|
||||
Height_of_trailer_hitch_above_ground_level_mm INT NULL,
|
||||
Gear_used_negotiating_slopes_up_to_8Pct TEXT NULL,
|
||||
Avg_travel_speed_kmph TEXT NULL,
|
||||
|
||||
Reference in New Issue
Block a user