diff --git a/application/migrations/014_person.php b/application/migrations/014_person.php new file mode 100644 index 000000000..ada0e820e --- /dev/null +++ b/application/migrations/014_person.php @@ -0,0 +1,38 @@ +startUP(); + + // Add zugangscode_timestamp to public.tbl_person + $columns = array( + "zugangscode_timestamp" => array( + "type" => "timestamp", + "null" => true + ) + ); + $this->addColumn("public", "tbl_person", $columns); + + $this->endUP(); + } + + public function down() + { + $this->startDown(); + + $this->dropColumn("public", "tbl_person", "zugangscode_timestamp"); + + $this->endDown(); + } +} \ No newline at end of file