dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

92.sql (384B)


      1 -- +migrate Up
      2 
      3 CREATE TABLE IF NOT EXISTS filedrops (
      4     id INTEGER NOT NULL PRIMARY KEY,
      5     uuid VARCHAR(100) UNIQUE NOT NULL,
      6     file_name VARCHAR(255) UNIQUE NOT NULL,
      7     orig_file_name VARCHAR(255) NOT NULL,
      8     file_size INTEGER NOT NULL,
      9     created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
     10     updated_at DATETIME NULL DEFAULT CURRENT_TIMESTAMP);
     11 
     12 -- +migrate Down