-- modify "anwesenheit" table
ALTER TABLE "anwesenheit" ADD COLUMN "manuelle_buchung" boolean NULL;
-- create "s_abwesenheit_typen" table
CREATE TABLE "s_abwesenheit_typen" (
  "abwesenheit_id" smallint NOT NULL,
  "abwesenheit_name" character varying(255) NULL,
  PRIMARY KEY ("abwesenheit_id")
);
-- create "s_anwesenheit_typen" table
CREATE TABLE "s_anwesenheit_typen" (
  "anwesenheit_id" smallint NOT NULL,
  "anwesenheit_name" character varying(255) NULL,
  PRIMARY KEY ("anwesenheit_id")
);
-- create "s_personal_daten" table
ALTER TABLE "personal_daten" RENAME TO "s_personal_daten";
