PromucFlow_constructor/app/server/appsmith-server/src/main/resources/CRUD-DB-Table-Template-Application.json

1 line
196 KiB
JSON
Raw Normal View History

2021-06-29 07:40:04 +00:00
{"unpublishedDefaultPageName":"SQL","datasourceList":[{"new":true,"invalids":[],"pluginId":"amazons3-plugin","isValid":true,"name":"AmazonS3","userPermissions":["execute:datasources","manage:datasources","read:datasources"],"datasourceConfiguration":{"sshProxyEnabled":false,"endpoints":[{"host":""}],"properties":[{"value":"ap-south-1"},{"value":"amazon-s3","key":"s3Provider"},{"value":"","key":"customRegion"}]},"structure":{"tables":[{"schema":"public","columns":[{"defaultValue":"nextval('candidate_feedback_id_seq'::regclass)","name":"id","type":"int4"},{"name":"interviewer","type":"text"},{"name":"application_id","type":"text"},{"name":"feedback","type":"text"},{"name":"rating","type":"float8"}],"keys":[{"columnNames":["id"],"name":"candidate_feedback_pkey","type":"primary key"},{"fromColumns":["id"],"name":"application_id_fk","toColumns":["job_applications.id"],"type":"foreign key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"candidate_feedback\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"candidate_feedback\" (\"interviewer\", \"application_id\", \"feedback\", \"rating\")\n VALUES ('', '', '', '');"},{"title":"UPDATE","body":"UPDATE public.\"candidate_feedback\" SET\n \"interviewer\" = ''\n \"application_id\" = ''\n \"feedback\" = ''\n \"rating\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"candidate_feedback\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.candidate_feedback","type":"TABLE"},{"schema":"public","columns":[{"name":"department_id","type":"int4"},{"name":"department_name","type":"varchar"}],"keys":[{"columnNames":["department_id"],"name":"departments_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"departments\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"departments\" (\"department_id\", \"department_name\")\n VALUES (1, '');"},{"title":"UPDATE","body":"UPDATE public.\"departments\" SET\n \"department_id\" = 1\n \"department_name\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"departments\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.departments","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('discount_id_seq'::regclass)","name":"id","type":"int4"},{"name":"userId","type":"int4"},{"name":"amount","type":"float8"},{"name":"expiresAt","type":"date"}],"keys":[{"columnNames":["id"],"name":"discount_pkey","type":"primary key"},{"fromColumns":["userId"],"name":"userId","toColumns":["users.id"],"type":"foreign key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"discounts\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"discounts\" (\"userId\", \"amount\", \"expiresAt\")\n VALUES (1, '', '2019-07-01');"},{"title":"UPDATE","body":"UPDATE public.\"discounts\" SET\n \"userId\" = 1\n \"amount\" = ''\n \"expiresAt\" = '2019-07-01'\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"discounts\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.discounts","type":"TABLE"},{"schema":"public","columns":[{"name":"employee_id","type":"int4"},{"name":"employee_name","type":"varchar"},{"name":"phone","type":"varchar"},{"name":"email","type":"varchar"},{"defaultValue":"false","name":"isadmin","type":"bool"},{"name":"department_id","type":"int4"},{"name":"calendar","type":"varchar"},{"defaultValue":"CURRENT_DATE","name":"dob","type":"timestamp"},{"defaultValue":"CURRENT_DATE","name":"doj","type":"timestamp"}],"keys":[{"columnNames":["employee_id"],"name":"employees_pkey","type":"pri