CREATE TABLE `xplugin_sd_bonuspunkte_count` (
	`id` INT(10) NOT NULL AUTO_INCREMENT,
	`kKunde` INT(10),
	`sum` DOUBLE,
	PRIMARY KEY (`id`)
);

CREATE TABLE `xplugin_sd_bonuspunkte_in` (
		`id` INT(10) NOT NULL AUTO_INCREMENT,
		`kKunde` INT(10),
		`kBestellung` INT(10),
		`nGuthaben` DOUBLE,
		`createTime` DATETIME,
		PRIMARY KEY (`id`)
);

CREATE TABLE `xplugin_sd_bonuspunkte_out` (
	`id` INT(10) NOT NULL AUTO_INCREMENT,
	`kKunde` INT(10),
	`kBestellung` INT(10),
	`nGuthaben` DOUBLE,
	`createTime` DATETIME,
	PRIMARY KEY (`id`)
);

CREATE TABLE `xplugin_sd_bonuspunkte_settings` (
	`id` INT(10) NOT NULL AUTO_INCREMENT,
	`cName` VARCHAR(255),
	`cWert` VARCHAR(255),
	PRIMARY KEY (`id`)
);