tweak(sql): Added default twitter avatar to import.sql

This commit is contained in:
Taso committed 2021-03-08 16:22:19 -05:00
1 parent 7e9ad952cf
commit 7d233a9efa
1 file changed
+4 -3
+4 -3
View File
@@ -1,5 +1,5 @@
-- comment this out if your server has a different table/location for phone_number
-- or if it already exists in the users table
# comment this out if your server has a different table/location for phone_number
# or if it already exists in the users table
ALTER TABLE `users` ADD COLUMN `phone_number` VARCHAR(20) DEFAULT NULL;
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES ('phone', 'Phone', 1, 0, 1);
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES ('dphone', 'Destroyed Phone', 1, 0, 1);
@@ -31,7 +31,8 @@ CREATE TABLE IF NOT EXISTS `npwd_twitter_profiles` (
`id` int NOT NULL AUTO_INCREMENT,
`profile_name` varchar(90) NOT NULL,
`identifier` varchar(40) NOT NULL,
`avatar_url` varchar(255) DEFAULT NULL,
# Default Profile avatar can be set here
`avatar_url` varchar(255) DEFAULT 'https://i.imgur.com/njcJ1rZ.png',
`bio` varchar(512) DEFAULT NULL,
`location` varchar(45) DEFAULT NULL,
`job` varchar(45) DEFAULT NULL,