diff --git a/hasura/migrations/1579293094338_alter_table_public_jobs_add_column_ciecaid/down.yaml b/hasura/migrations/1579293094338_alter_table_public_jobs_add_column_ciecaid/down.yaml new file mode 100644 index 000000000..18b705281 --- /dev/null +++ b/hasura/migrations/1579293094338_alter_table_public_jobs_add_column_ciecaid/down.yaml @@ -0,0 +1,3 @@ +- args: + sql: ALTER TABLE "public"."jobs" DROP COLUMN "ciecaid"; + type: run_sql diff --git a/hasura/migrations/1579293094338_alter_table_public_jobs_add_column_ciecaid/up.yaml b/hasura/migrations/1579293094338_alter_table_public_jobs_add_column_ciecaid/up.yaml new file mode 100644 index 000000000..c004a1fe0 --- /dev/null +++ b/hasura/migrations/1579293094338_alter_table_public_jobs_add_column_ciecaid/up.yaml @@ -0,0 +1,3 @@ +- args: + sql: ALTER TABLE "public"."jobs" ADD COLUMN "ciecaid" text NULL; + type: run_sql diff --git a/s3upload.js b/s3upload.js index 2198196b7..c5e5ad221 100644 --- a/s3upload.js +++ b/s3upload.js @@ -7,7 +7,7 @@ aws.config.update({ secretAccessKey: process.env.AWSSecretKey }); -const S3_BUCKET = process.env.bucket; +const S3_BUCKET = process.env.Bucket; // Now lets export this function so we can call it from somewhere else exports.sign_s3 = (req, res) => {