formulario de capacitacion
This commit is contained in:
37
apps/api/src/database/migrations/0008_plain_scream.sql
Normal file
37
apps/api/src/database/migrations/0008_plain_scream.sql
Normal file
@@ -0,0 +1,37 @@
|
||||
CREATE TABLE "training_surveys" (
|
||||
"id" serial PRIMARY KEY NOT NULL,
|
||||
"firstname" text NOT NULL,
|
||||
"lastname" text NOT NULL,
|
||||
"visit_date" timestamp NOT NULL,
|
||||
"productive_activity" text NOT NULL,
|
||||
"financial_requirement_description" text NOT NULL,
|
||||
"situr_code_commune" text NOT NULL,
|
||||
"communal_council" text NOT NULL,
|
||||
"situr_code_communal_council" text NOT NULL,
|
||||
"osp_name" text NOT NULL,
|
||||
"osp_address" text NOT NULL,
|
||||
"osp_rif" text NOT NULL,
|
||||
"osp_type" text NOT NULL,
|
||||
"current_status" text NOT NULL,
|
||||
"company_constitution_year" integer NOT NULL,
|
||||
"producer_count" integer NOT NULL,
|
||||
"product_description" text NOT NULL,
|
||||
"installed_capacity" text NOT NULL,
|
||||
"operational_capacity" text NOT NULL,
|
||||
"osp_responsible_fullname" text NOT NULL,
|
||||
"osp_responsible_cedula" text NOT NULL,
|
||||
"osp_responsible_rif" text NOT NULL,
|
||||
"osp_responsible_phone" text NOT NULL,
|
||||
"civil_state" text NOT NULL,
|
||||
"family_burden" integer NOT NULL,
|
||||
"number_of_children" integer NOT NULL,
|
||||
"general_observations" text NOT NULL,
|
||||
"photo1" text NOT NULL,
|
||||
"photo2" text NOT NULL,
|
||||
"photo3" text NOT NULL,
|
||||
"paralysis_reason" text NOT NULL,
|
||||
"created_at" timestamp DEFAULT now() NOT NULL,
|
||||
"updated_at" timestamp (3)
|
||||
);
|
||||
--> statement-breakpoint
|
||||
CREATE INDEX "training_surveys_index_00" ON "training_surveys" USING btree ("firstname");
|
||||
1778
apps/api/src/database/migrations/meta/0008_snapshot.json
Normal file
1778
apps/api/src/database/migrations/meta/0008_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -57,6 +57,13 @@
|
||||
"when": 1754420096323,
|
||||
"tag": "0007_curved_fantastic_four",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 8,
|
||||
"version": "7",
|
||||
"when": 1764623430844,
|
||||
"tag": "0008_plain_scream",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user