Skip to content

Commit

Permalink
Update Map.pm and drop table before create
Browse files Browse the repository at this point in the history
  • Loading branch information
charleneauger committed Apr 15, 2020
1 parent deca4c8 commit b97a13d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions APACHE/Map.pm
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ fields => {
SIZE => {},
LASTLOGON => {},
DESCRIPTION => {},
USERMAYCHANGEPWD => {},
PASSWORDEXPIRES => {},
STATUS => {},
SID => {}
}
Expand Down
5 changes: 4 additions & 1 deletion install.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ function extension_install_winusers()
{
$commonObject = new ExtensionCommon;

$commonObject -> sqlQuery("CREATE TABLE IF NOT EXISTS `winusers` (
// Drop table first
$commonObject -> sqlQuery("DROP TABLE `winusers`;");

$commonObject -> sqlQuery("CREATE TABLE `winusers` (
`ID` INT(11) NOT NULL AUTO_INCREMENT,
`HARDWARE_ID` INT(11) NOT NULL,
`NAME` VARCHAR(255) DEFAULT NULL,
Expand Down

0 comments on commit b97a13d

Please sign in to comment.