llx_c_country.sql 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. -- ========================================================================
  2. -- Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
  3. -- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
  4. -- Copyright (C) 2014 Alexandre Spangaro <aspangaro@open-dsi.fr>
  5. -- Copyright (C) 2022 Juanjo Menent <jmenent@2byte.es>
  6. --
  7. -- This program is free software; you can redistribute it and/or modify
  8. -- it under the terms of the GNU General Public License as published by
  9. -- the Free Software Foundation; either version 3 of the License, or
  10. -- (at your option) any later version.
  11. --
  12. -- This program is distributed in the hope that it will be useful,
  13. -- but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. -- GNU General Public License for more details.
  16. --
  17. -- You should have received a copy of the GNU General Public License
  18. -- along with this program. If not, see <https://www.gnu.org/licenses/>.
  19. --
  20. -- ========================================================================
  21. create table llx_c_country
  22. (
  23. rowid integer PRIMARY KEY,
  24. code varchar(2) NOT NULL,
  25. code_iso varchar(3) ,
  26. label varchar(128) NOT NULL,
  27. eec tinyint DEFAULT 0 NOT NULL,
  28. active tinyint DEFAULT 1 NOT NULL,
  29. favorite tinyint DEFAULT 0 NOT NULL
  30. )ENGINE=innodb;