auth

Main authentication module for my projects
git clone git://git.finwo.net/app/auth
Log | Files | Refs

008_system_settings.sql (365B)


      1 CREATE TABLE system_settings (
      2   id INTEGER PRIMARY KEY CHECK (id = 1),
      3   branding TEXT NOT NULL DEFAULT '{}',
      4   created_at INTEGER NOT NULL,
      5   updated_at INTEGER NOT NULL
      6 );
      7 
      8 INSERT INTO system_settings (id, branding, created_at, updated_at)
      9 VALUES (
     10   1,
     11   '{}',
     12   CAST(strftime('%s', 'now') AS INTEGER) * 1000,
     13   CAST(strftime('%s', 'now') AS INTEGER) * 1000
     14 );