This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CREATE TABLE qr_codes ( | |
| id INTEGER PRIMARY KEY AUTOINCREMENT, | |
| code_value TEXT NOT NULL, | |
| description TEXT, | |
| status TEXT CHECK(status IN ('active', 'inactive')) DEFAULT 'active', | |
| created_at DATETIME DEFAULT CURRENT_TIMESTAMP | |
| ); |