diff --git a/adaptive_card.json b/adaptive_card.json index cf2a058..856f08e 100644 --- a/adaptive_card.json +++ b/adaptive_card.json @@ -176,7 +176,7 @@ } ], "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", - "version": "1.4", + "version": "1.0", "body": [ { "type": "TextBlock", @@ -191,7 +191,7 @@ "wrap": true, "separator": true }, -{ + { "type": "TextBlock", "text": "@{body('GetResponseDetails')?['r60d760e8828645cc84d8fde2a6fe3b27']}", "wrap": true, diff --git a/prisma/migrations/20221205180831_time_frame/migration.sql b/prisma/migrations/20221205180831_time_frame/migration.sql new file mode 100644 index 0000000..78984d5 --- /dev/null +++ b/prisma/migrations/20221205180831_time_frame/migration.sql @@ -0,0 +1,25 @@ +/* + Warnings: + + - Added the required column `timeFrame` to the `Proposal` table without a default value. This is not possible if the table is not empty. + +*/ +BEGIN TRY + +BEGIN TRAN; + +-- AlterTable +ALTER TABLE [dbo].[Proposal] ADD [timeFrame] NVARCHAR(1000) NOT NULL; + +COMMIT TRAN; + +END TRY +BEGIN CATCH + +IF @@TRANCOUNT > 0 +BEGIN + ROLLBACK TRAN; +END; +THROW + +END CATCH diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 877bd03..900906b 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -121,6 +121,7 @@ model Proposal { description String language String studyLevel String + timeFrame String topicArea TopicArea @relation(fields: [topicAreaSlug], references: [slug]) topicAreaSlug String