diff options
author | Aaron Parecki <aaron@parecki.com> | 2015-07-25 03:55:00 -0700 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2015-07-25 03:55:00 -0700 |
commit | 35bd5a9e68b50bf57963ea626a3fbf7432b37c93 (patch) | |
tree | cc5e9b506494eaf4c59a1200e4bcea875acba46a /schema | |
parent | 60830007641c985c11c8ac8f609aab735dd84a96 (diff) | |
parent | afa182bc120371a15b28227ce712cba501a78d05 (diff) |
Merge branch 'master' of github.com:aaronpk/IndiePost
Diffstat (limited to 'schema')
-rw-r--r-- | schema/mysql.sql (renamed from schema/schema.sql) | 0 | ||||
-rw-r--r-- | schema/sqlite.sql | 22 |
2 files changed, 22 insertions, 0 deletions
diff --git a/schema/schema.sql b/schema/mysql.sql index 5f33ce6..5f33ce6 100644 --- a/schema/schema.sql +++ b/schema/mysql.sql diff --git a/schema/sqlite.sql b/schema/sqlite.sql new file mode 100644 index 0000000..ac691e3 --- /dev/null +++ b/schema/sqlite.sql @@ -0,0 +1,22 @@ +CREATE TABLE users ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, + url TEXT, + authorization_endpoint TEXT, + token_endpoint TEXT, + micropub_endpoint TEXT, + micropub_access_token TEXT, + micropub_scope TEXT, + micropub_response TEXT, + micropub_success INTEGER default 0, + date_created datetime, + last_login datetime, + last_micropub_response TEXT, + last_micropub_response_date datetime, + location_enabled INTEGER NOT NULL default 0, + syndication_targets TEXT, + facebook_access_token TEXT, + twitter_access_token TEXT, + twitter_token_secret TEXT, + twitter_username TEXT, + instagram_access_token TEXT +);
\ No newline at end of file |