Changed table name and user_id is now owner_id, as it should be.
This commit is contained in:
parent
9fc5a87ec2
commit
c2bd8ef5ba
@ -21,11 +21,11 @@ class bitly_installer {
|
|||||||
|
|
||||||
static function install() {
|
static function install() {
|
||||||
Database::instance()
|
Database::instance()
|
||||||
->query("CREATE TABLE {bitly_urls} (
|
->query("CREATE TABLE {bitly_links} (
|
||||||
`id` int(9) NOT NULL AUTO_INCREMENT,
|
`id` int(9) NOT NULL AUTO_INCREMENT,
|
||||||
`item_id` int(9) NOT NULL,
|
`item_id` int(9) NOT NULL,
|
||||||
`hash` char(6) NOT NULL,
|
`hash` char(6) NOT NULL,
|
||||||
`user_id` int(9) NOT NULL,
|
`owner_id` int(9) NOT NULL,
|
||||||
PRIMARY KEY (`id`))
|
PRIMARY KEY (`id`))
|
||||||
DEFAULT CHARSET=utf8;");
|
DEFAULT CHARSET=utf8;");
|
||||||
module::set_version("bitly", 1);
|
module::set_version("bitly", 1);
|
||||||
|
Reference in New Issue
Block a user