 	NO MINVALUE
 	CACHE 1;
 
-CREATE SEQUENCE payments_logger_paymentloonepercentry_id_seq
-	START WITH 1
-	INCREMENT BY 1
-	NO MAXVALUE
-	NO MINVALUE
-	CACHE 1;
-
 CREATE SEQUENCE slides_slide_id_seq
 	START WITH 1
 	INCREMENT BY 1
 	NO MAXVALUE
 	NO MINVALUE
 	CACHE 1;
-
-CREATE TABLE payments_logger_paymentloonepercentry (
-	id integer DEFAULT nextval('payments_logger_paymentloonepercentry_id_seq'::regclass) NOT NULL,
-	message character varying(400) NOT NULL,
-	"level" character varying(15) NOT NULL,
-	"timestamp" timestamp with time zone NOT NULL,
-	payment_id integer NOT NULL
-);
 
 ALTER TABLE bb_projects_projectphase
 	ALTER COLUMN id SET DEFAULT nextval('bb_projects_projectphase_id_seq'::regclass);

ALTER SEQUENCE members_useraddress_id_seq
	OWNED BY members_useraddress.id;

ALTER SEQUENCE payments_logger_paymentloonepercentry_id_seq
	OWNED BY payments_logger_paymentloonepercentry.id;

ALTER SEQUENCE slides_slide_id_seq
	OWNED BY slides_slide.id;


ALTER TABLE payments_docdata_docdatatransaction
	ADD CONSTRAINT payments_docdata_docdatatransaction_transaction_ptr_id_fkey FOREIGN KEY (transaction_ptr_id) REFERENCES payments_transaction(id) DEFERRABLE INITIALLY DEFERRED;

ALTER TABLE payments_logger_paymentlogentry
	ADD CONSTRAINT payments_logger_paymentlogentry_payment_id_fkey FOREIGN KEY (payment_id) REFERENCES payments_payment(id) DEFERRABLE INITIALLY DEFERRED;

ALTER TABLE payments_mock_mockpayment
	ADD CONSTRAINT payment_ptr_id_refs_id_2b26da6b FOREIGN KEY (payment_ptr_id) REFERENCES payments_payment(id) DEFERRABLE INITIALLY DEFERRED;
