From 763eaa65921fde7a988e634e917b7ebcbecc673e Mon Sep 17 00:00:00 2001 From: paolo Date: Wed, 27 Jul 2016 13:36:45 +0200 Subject: [PATCH] Added migration script 013_akte.php --- application/migrations/013_akte.php | 38 +++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 application/migrations/013_akte.php diff --git a/application/migrations/013_akte.php b/application/migrations/013_akte.php new file mode 100644 index 000000000..21ad85f6a --- /dev/null +++ b/application/migrations/013_akte.php @@ -0,0 +1,38 @@ +startUP(); + + // Add nachgereicht_am to public.tbl_akte + $columns = array( + "nachgereicht_am" => array( + "type" => "date", + "null" => true + ) + ); + $this->addColumn("public", "tbl_akte", $columns); + + $this->endUP(); + } + + public function down() + { + $this->startDown(); + + $this->dropColumn("public", "tbl_akte", "nachgereicht_am"); + + $this->endDown(); + } +} \ No newline at end of file