WordPress/links.update-0.7.sql
mikelittle b7e64e6d6c Added in a version of b2links with update from
weblogs.com.


git-svn-id: http://svn.automattic.com/wordpress/trunk@21 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-05-12 22:33:47 +00:00

33 lines
1.4 KiB
SQL

-- --------------------------------------------------------
-- // $Id$
-- //
-- // B2Links
-- // Copyright (C) 2002 Mike Little -- mike@zed1.com
-- //
-- // This is an add-on to b2 weblog / news publishing tool
-- // b2 is copyright (c)2001, 2002 by Michel Valdrighi - m@tidakada.com
-- //
-- // **********************************************************************
-- // Copyright (C) 2002 Mike Little
-- //
-- // This program is free software; you can redistribute it and/or modify
-- // it under the terms of the GNU General Public License as published by
-- // the Free Software Foundation; either version 2 of the License, or
-- // (at your option) any later version.
-- //
-- // This program is distributed in the hope that it will be useful, but
-- // WITHOUT ANY WARRANTY; without even the implied warranty of
-- // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-- // General Public License for more details.
-- //
-- // You should have received a copy of the GNU General Public License
-- // along with this program; if not, write to the Free Software
-- // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-- //
-- // Mike Little (mike@zed1.com)
-- // *****************************************************************
ALTER TABLE b2links ADD COLUMN link_owner INT NOT NULL DEFAULT '1';
-- set link owner to admin (id 1)
UPDATE b2links SET link_owner = 1;