
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9947 54d463be-8e91-2dee-dedb-b68131a5f0ec
3 lines
193 B
SQL
3 lines
193 B
SQL
ALTER TABLE friends ADD `friend_account` int(11) NOT NULL default 0 AFTER `char_id`;
|
|
UPDATE friends, `char` SET friends.friend_account=`char`.account_id where friends.friend_id=`char`.char_id;
|