# Migration `20200923201320-changed-notification-data-to-json`

This migration has been generated by Alexandre Poirier at 9/23/2020, 4:13:20 PM.
You can check out the [state of the schema](./schema.prisma) after the migration.

## Database Steps

```sql
ALTER TABLE "walter$localhost"."Notification" DROP COLUMN "data",
ADD COLUMN "data" jsonb   
```

## Changes

```diff
diff --git schema.prisma schema.prisma
migration 20200922203756-fix-exponent-token..20200923201320-changed-notification-data-to-json
--- datamodel.dml
+++ datamodel.dml
@@ -3,9 +3,9 @@
 }
 datasource postgresql {
   provider = "postgresql"
-  url = "***"
+  url = "***"
 }
 enum RECURRING_TYPE {
   DAILY
@@ -1172,9 +1172,9 @@
   appType                    String?
   title                      String?
   message                    String?
   hasBeenSeen                Boolean? @default(false)
-  data                       String?
+  data                       Json?
   projectId                  String?
   serviceProjectId           String?
   userId                     String?
   subtitle                   String?
```


