James Iter 9 лет назад
Родитель
Сommit
316637ff61
2 измененных файлов с 2 добавлено и 0 удалено
  1. 1 0
      misc/init.sql
  2. 1 0
      models/os_template.py

+ 1 - 0
misc/init.sql

@@ -56,6 +56,7 @@ CREATE TABLE IF NOT EXISTS os_template(
     label VARCHAR(255) NOT NULL,
     path VARCHAR(255) NOT NULL,
     active BOOLEAN NOT NULL DEFAULT TRUE,
+    icon VARCHAR(255) NOT NULL,
     os_init_id BIGINT UNSIGNED NOT NULL DEFAULT 0,
     PRIMARY KEY (id))
     ENGINE=InnoDB

+ 1 - 0
models/os_template.py

@@ -23,6 +23,7 @@ class OSTemplate(ORM):
         self.label = None
         self.path = None
         self.active = None
+        self.icon = None
         self.os_init_id = None
 
     @staticmethod