diff options
author | Adam Mathes <adam@trenchant.org> | 2018-04-28 11:00:56 -0700 |
---|---|---|
committer | Adam Mathes <adam@trenchant.org> | 2018-04-28 11:00:56 -0700 |
commit | 05def1ea616242a0c44c72402657d1866afdf005 (patch) | |
tree | 40b85af24b2535ecd3e4c86c2fe37a7b31c7e2de | |
parent | c6eedc0cb623cd1e265ab02f0addfa865008b94e (diff) | |
download | neko-05def1ea616242a0c44c72402657d1866afdf005.tar.gz neko-05def1ea616242a0c44c72402657d1866afdf005.tar.bz2 neko-05def1ea616242a0c44c72402657d1866afdf005.zip |
no nulls dammit
-rw-r--r-- | init.sql | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,9 +15,9 @@ CREATE TABLE feed ( CREATE TABLE item ( id INT NOT NULL AUTO_INCREMENT, feed_id INT NOT NULL, - title TEXT, + title TEXT NOT NULL DEFAULT "", url VARCHAR(255) NOT NULL, - description TEXT, + description TEXT NOT NULL DEFAULT "", full_content TEXT NOT NULL DEFAULT "", header_image TEXT NOT NULL DEFAULT "", publish_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL, |