Skip to content
This repository was archived by the owner on Jan 25, 2018. It is now read-only.

Commit 51a5f14

Browse files
committed
some demo updates until we have real documentation
1 parent 9e0ac70 commit 51a5f14

File tree

5 files changed

+19
-2
lines changed

5 files changed

+19
-2
lines changed

database/updates/002.createbla.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
CREATE TABLE IF NOT EXISTS bla (
1+
CREATE TABLE IF NOT EXISTS "bla" (
22
"id" serial NOT NULL
33
);

database/updates/003.dropbla.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
DROP TABLE IF EXISTS bla;
1+
DROP TABLE IF EXISTS "bla";

database/updates/004.mysql.blubb.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CREATE TABLE `blubb` (
2+
`id` serial,
3+
`fiep` varchar(32) NOT NULL,
4+
);

database/updates/004.pgsql.blubb.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CREATE TABLE "blubb" (
2+
"id" serial,
3+
"fiep" varchar(32) NOT NULL
4+
);

database/updates/005.InitBlubb.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
class Update_InitBlubb extends Indechse_Maintain_Update_Abstract
3+
{
4+
5+
public function update()
6+
{
7+
$this->_getDbCOnn()->exec("INSERT INTO blubb (fiep) VALUES ('mamemimu')");
8+
}
9+
}

0 commit comments

Comments
 (0)