Magellan Linux

Diff of /alx-src/branches/alx-web-070/scripts/sql-schema/include/schema.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8548 by niro, Mon Feb 8 13:10:52 2016 UTC revision 9469 by niro, Thu Apr 6 13:34:54 2017 UTC
# Line 13  create_database_schema() Line 13  create_database_schema()
13   sql_create_table   sql_create_table
14    
15   TABLE_DEFINITION=(   TABLE_DEFINITION=(
16   "cfg_autostart"   "cfg_fluxbox_autostart"
17   "id int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT"   "id int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT"
18   "serial int(11) NOT NULL"   "serial int(11) NOT NULL"
19   "name varchar(255) NOT NULL"   "name varchar(255) NOT NULL"
# Line 142  create_database_schema() Line 142  create_database_schema()
142   sql_create_table   sql_create_table
143    
144   TABLE_DEFINITION=(   TABLE_DEFINITION=(
  "cfg_other_menuitems"  
  "id int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT"  
  "serial int(11) NOT NULL"  
  "name varchar(255) DEFAULT NULL"  
  "exec varchar(255) DEFAULT NULL"  
  "workdir varchar(255) DEFAULT NULL"  
  "icon varchar(255) DEFAULT NULL"  
  )  
  sql_create_table  
   
  TABLE_DEFINITION=(  
145   "cfg_printers"   "cfg_printers"
146   "id int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT"   "id int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT"
147   "serial int(11) NOT NULL"   "serial int(11) NOT NULL"
# Line 189  create_database_schema() Line 178  create_database_schema()
178   "domain varchar(255) DEFAULT NULL"   "domain varchar(255) DEFAULT NULL"
179   "password varchar(255) DEFAULT NULL"   "password varchar(255) DEFAULT NULL"
180   "serverlist varchar(255) NOT NULL"   "serverlist varchar(255) NOT NULL"
181   "autostart tinyint(1) NOT NULL DEFAULT '0'"   "autostart tinyint(1) NOT NULL DEFAULT '1'"
182   "enabled tinyint(1) NOT NULL DEFAULT '1'"   "enabled tinyint(1) NOT NULL DEFAULT '1'"
183   "flg_modified tinyint(1) NOT NULL DEFAULT '0'"   "flg_modified tinyint(1) NOT NULL DEFAULT '0'"
184   )   )
# Line 206  create_database_schema() Line 195  create_database_schema()
195   "password varchar(255) DEFAULT NULL"   "password varchar(255) DEFAULT NULL"
196   "domain varchar(255) DEFAULT NULL"   "domain varchar(255) DEFAULT NULL"
197   "shell varchar(255) DEFAULT NULL"   "shell varchar(255) DEFAULT NULL"
198   "autostart tinyint(1) NOT NULL DEFAULT '0'"   "autostart tinyint(1) NOT NULL DEFAULT '1'"
199   "enabled tinyint(1) NOT NULL DEFAULT '1'"   "enabled tinyint(1) NOT NULL DEFAULT '1'"
200   "flg_modified tinyint(1) NOT NULL DEFAULT '0'"   "flg_modified tinyint(1) NOT NULL DEFAULT '0'"
201   )   )
# Line 223  create_database_schema() Line 212  create_database_schema()
212   "domain varchar(255) DEFAULT NULL"   "domain varchar(255) DEFAULT NULL"
213   "password varchar(255) DEFAULT NULL"   "password varchar(255) DEFAULT NULL"
214   "store varchar(255) NOT NULL"   "store varchar(255) NOT NULL"
215   "autostart tinyint(1) NOT NULL DEFAULT '0'"   "autostart tinyint(1) NOT NULL DEFAULT '1'"
216   "enabled tinyint(1) NOT NULL DEFAULT '1'"   "enabled tinyint(1) NOT NULL DEFAULT '1'"
217   "flg_modified tinyint(1) NOT NULL DEFAULT '0'"   "flg_modified tinyint(1) NOT NULL DEFAULT '0'"
218   )   )
# Line 257  create_database_schema() Line 246  create_database_schema()
246   TABLE_DEFINITION=(   TABLE_DEFINITION=(
247   "client_locations"   "client_locations"
248   "location varchar(255) NOT NULL PRIMARY KEY"   "location varchar(255) NOT NULL PRIMARY KEY"
249     "bootserver varchar(255) NOT NULL"
250   "controlserver varchar(255) NOT NULL"   "controlserver varchar(255) NOT NULL"
251   "pxe_default_entry varchar(255) NOT NULL"   "pxe_default_entry varchar(255) NOT NULL"
252   "pxe_prompt tinyint(1) NOT NULL"   "pxe_prompt tinyint(1) NOT NULL"
# Line 275  create_database_schema() Line 265  create_database_schema()
265    
266   TABLE_DEFINITION=(   TABLE_DEFINITION=(
267   "client_serials"   "client_serials"
268   "serial int(11) NOT NULL PRIMARY KEY"   "serial int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT"
269   "location varchar(255) NOT NULL"   "location varchar(255) NOT NULL"
270   "mtime int(11) DEFAULT NULL"   "mtime int(11) DEFAULT NULL"
271   "mac varchar(17) NOT NULL"   "mac varchar(17) NOT NULL"
# Line 369  create_database_schema() Line 359  create_database_schema()
359   "id int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT"   "id int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT"
360   "value varchar(255) NOT NULL"   "value varchar(255) NOT NULL"
361   "enabled tinyint(1) NOT NULL DEFAULT '1'"   "enabled tinyint(1) NOT NULL DEFAULT '1'"
362     "description varchar(255) DEFAULT NULL AFTER value"
363   )   )
364   sql_create_table   sql_create_table
365    
# Line 445  create_database_schema() Line 436  create_database_schema()
436   "enabled tinyint(1) NOT NULL DEFAULT '1'"   "enabled tinyint(1) NOT NULL DEFAULT '1'"
437   )   )
438   sql_create_table   sql_create_table
439    
440     TABLE_DEFINITION=(
441     "client_boot"
442     "serial int(255) NOT NULL PRIMARY KEY"
443     "cmdline varchar(255) DEFAULT NULL"
444     )
445     sql_create_table
446  }  }

Legend:
Removed from v.8548  
changed lines
  Added in v.9469