-- ========================================================================
-- Copyright (C) 2000-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
-- Copyright (C) 2005-2010 Houssin Regis        <regis@dolibarr.fr>
--
-- 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
--
-- $Id$
-- ========================================================================

create table llx_societe_address
(
  rowid              integer AUTO_INCREMENT PRIMARY KEY,
  datec	             datetime,                            -- creation date
  tms                timestamp,                           -- modification date
  label              varchar(30),                         --
  fk_soc	         integer        DEFAULT 0,            --
  name               varchar(60),                         -- company name
  address            varchar(255),                        -- company adresse
  cp                 varchar(10),                         -- zipcode
  ville              varchar(50),                         -- town
  fk_pays            integer        DEFAULT 0,            --
  tel                varchar(20),                         -- phone number
  fax                varchar(20),                         -- fax number
  note               text,                                --
  fk_user_creat      integer,
  fk_user_modif      integer
)type=innodb;