Skip to content

Commit bf7eeff

Browse files
author
Lewis Goddard
committed
Merge branch 'master' of https://github.com/eustasy/phoenix
2 parents 1333b20 + 5aea60b commit bf7eeff

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

admin.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@
5959
}
6060
$result = mysqli_query($connection,
6161
'CREATE TABLE IF NOT EXISTS `'.$settings['db_prefix'].'torrents` (' .
62-
'`name` varchar(255) NOT NULL' .
62+
'`name` varchar(255) NOT NULL,' .
63+
'`info_hash` varchar(40) NOT NULL' .
6364
') ENGINE=MyISAM DEFAULT CHARSET=latin1'
6465
);
6566
if ( !$result ) {
@@ -295,4 +296,4 @@
295296

296297
echo '
297298
</body>
298-
</html>';
299+
</html>';

0 commit comments

Comments
 (0)