# Migration `20201105185655-student_email_property`

This migration has been generated by Help at 11/5/2020, 6:56:55 PM.
You can check out the [state of the schema](./schema.prisma) after the migration.

## Database Steps

```sql
ALTER TABLE "public"."Student" ADD COLUMN "email" text  NOT NULL DEFAULT '';
```

## Changes

```diff
diff --git schema.prisma schema.prisma
migration 20200420023308-update-description-on-course-to-nullable..20201105185655-student_email_property
--- datamodel.dml
+++ datamodel.dml
@@ -3,9 +3,9 @@
 }
 datasource db {
   provider = "postgresql"
-  url = "***"
+  url      = env("DATABASE_URL")
 }
 model Content {
   author    String
@@ -56,12 +56,24 @@
   id         String     @id @default(cuid())
   guardians  Guardian[]
   courses    Course[]
   user       User
+  email      String
 }
 enum GradeLevel {
-  FIRST SECOND THIRD FOURTH FIFTH SIXTH SEVENTH EIGHTH NINTH TENTH ELEVENTH TWELFTH
+  FIRST
+  SECOND
+  THIRD
+  FOURTH
+  FIFTH
+  SIXTH
+  SEVENTH
+  EIGHTH
+  NINTH
+  TENTH
+  ELEVENTH
+  TWELFTH
 }
 model Admin {
   id        String   @id @default(cuid())
@@ -149,5 +161,5 @@
 model LessonPlan {
   id      String   @id @default(cuid())
   lessons Lesson[]
   course  Course
-}
+}
```


