Revize 5b396f6f
Přidáno uživatelem Michal Seják před více než 3 roky(ů)
src/db/init_queries.py | ||
---|---|---|
97 | 97 |
CREATE TABLE IF NOT EXISTS 'Certificates' |
98 | 98 |
( |
99 | 99 |
'id' INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, |
100 |
'valid_from' TEXT NOT NULL,
|
|
101 |
'valid_to' TEXT NOT NULL,
|
|
100 |
'valid_from' INTEGER NOT NULL,
|
|
101 |
'valid_to' INTEGER NOT NULL,
|
|
102 | 102 |
'pem_data' TEXT NOT NULL, |
103 | 103 |
'common_name' TEXT NOT NULL, |
104 | 104 |
'country_code' TEXT NULL, |
... | ... | |
107 | 107 |
'organization' TEXT NULL, |
108 | 108 |
'organizational_unit' TEXT NULL, |
109 | 109 |
'email_address' TEXT NULL, |
110 |
'revocation_date' TEXT NULL,
|
|
110 |
'revocation_date' INTEGER NULL,
|
|
111 | 111 |
'revocation_reason' TEXT NULL, |
112 |
'deletion_date' TEXT NULL,
|
|
112 |
'deletion_date' INTEGER NULL,
|
|
113 | 113 |
'certificate_type_id' INTEGER NOT NULL, |
114 | 114 |
'parent_certificate_id' INTEGER NOT NULL, |
115 | 115 |
'private_key_id' INTEGER NOT NULL, |
Také k dispozici: Unified diff
Re #8652 - Certificate table datatype updates (valid_from, valid_to, revocation_date, deletion_date: TEXT => INTEGER)