
ALTER TABLE `esa_w3pw`.`main` CHANGE COLUMN `version` `version` VARCHAR(25) CHARACTER SET 'latin1' COLLATE 'latin1_general_ci' NOT NULL DEFAULT ''  ;
UPDATE `esa_w3pw`.`main` SET version = '1.5.0-beta3';

DELIMITER //
//
CREATE DEFINER=`root`@`localhost` PROCEDURE `get_all_from_wallet`()
BEGIN

        select *
        from wallet;

END//
//
CREATE DEFINER=`root`@`localhost` PROCEDURE `get_wallet_entry`(
in id_in int
)
BEGIN

        select *
        from wallet
        where ID = id_in;

END//
DELIMITER ;

