This repository has been archived by the owner on Aug 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add link to original post ( closes #13 )
- Loading branch information
1 parent
02a0a1d
commit f59977a
Showing
11 changed files
with
446 additions
and
197 deletions.
There are no files selected for viewing
212 changes: 212 additions & 0 deletions
212
app/schemas/app.suhasdissa.memerize.backend.database.MemeDatabase/6.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,212 @@ | ||
{ | ||
"formatVersion": 1, | ||
"database": { | ||
"version": 6, | ||
"identityHash": "2fe659ff924b9df55352ca23a333dfc9", | ||
"entities": [ | ||
{ | ||
"tableName": "reddit_table", | ||
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `url` TEXT NOT NULL, `title` TEXT NOT NULL DEFAULT '', `is_video` INTEGER NOT NULL, `preview` TEXT NOT NULL DEFAULT '', `subreddit` TEXT NOT NULL DEFAULT '', `post_link` TEXT DEFAULT NULL, PRIMARY KEY(`id`))", | ||
"fields": [ | ||
{ | ||
"fieldPath": "id", | ||
"columnName": "id", | ||
"affinity": "TEXT", | ||
"notNull": true | ||
}, | ||
{ | ||
"fieldPath": "url", | ||
"columnName": "url", | ||
"affinity": "TEXT", | ||
"notNull": true | ||
}, | ||
{ | ||
"fieldPath": "title", | ||
"columnName": "title", | ||
"affinity": "TEXT", | ||
"notNull": true, | ||
"defaultValue": "''" | ||
}, | ||
{ | ||
"fieldPath": "isVideo", | ||
"columnName": "is_video", | ||
"affinity": "INTEGER", | ||
"notNull": true | ||
}, | ||
{ | ||
"fieldPath": "preview", | ||
"columnName": "preview", | ||
"affinity": "TEXT", | ||
"notNull": true, | ||
"defaultValue": "''" | ||
}, | ||
{ | ||
"fieldPath": "subreddit", | ||
"columnName": "subreddit", | ||
"affinity": "TEXT", | ||
"notNull": true, | ||
"defaultValue": "''" | ||
}, | ||
{ | ||
"fieldPath": "postLink", | ||
"columnName": "post_link", | ||
"affinity": "TEXT", | ||
"notNull": false, | ||
"defaultValue": "NULL" | ||
} | ||
], | ||
"primaryKey": { | ||
"autoGenerate": false, | ||
"columnNames": [ | ||
"id" | ||
] | ||
}, | ||
"indices": [], | ||
"foreignKeys": [] | ||
}, | ||
{ | ||
"tableName": "subreddit", | ||
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `icon_url` TEXT, `name` TEXT NOT NULL, PRIMARY KEY(`id`))", | ||
"fields": [ | ||
{ | ||
"fieldPath": "id", | ||
"columnName": "id", | ||
"affinity": "TEXT", | ||
"notNull": true | ||
}, | ||
{ | ||
"fieldPath": "iconUrl", | ||
"columnName": "icon_url", | ||
"affinity": "TEXT", | ||
"notNull": false | ||
}, | ||
{ | ||
"fieldPath": "name", | ||
"columnName": "name", | ||
"affinity": "TEXT", | ||
"notNull": true | ||
} | ||
], | ||
"primaryKey": { | ||
"autoGenerate": false, | ||
"columnNames": [ | ||
"id" | ||
] | ||
}, | ||
"indices": [], | ||
"foreignKeys": [] | ||
}, | ||
{ | ||
"tableName": "lemmy_table", | ||
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `url` TEXT NOT NULL, `title` TEXT NOT NULL DEFAULT '', `is_video` INTEGER NOT NULL, `preview` TEXT NOT NULL DEFAULT '', `community` TEXT NOT NULL DEFAULT '', `instance` TEXT NOT NULL DEFAULT '', `post_link` TEXT DEFAULT NULL, PRIMARY KEY(`id`))", | ||
"fields": [ | ||
{ | ||
"fieldPath": "id", | ||
"columnName": "id", | ||
"affinity": "TEXT", | ||
"notNull": true | ||
}, | ||
{ | ||
"fieldPath": "url", | ||
"columnName": "url", | ||
"affinity": "TEXT", | ||
"notNull": true | ||
}, | ||
{ | ||
"fieldPath": "title", | ||
"columnName": "title", | ||
"affinity": "TEXT", | ||
"notNull": true, | ||
"defaultValue": "''" | ||
}, | ||
{ | ||
"fieldPath": "isVideo", | ||
"columnName": "is_video", | ||
"affinity": "INTEGER", | ||
"notNull": true | ||
}, | ||
{ | ||
"fieldPath": "preview", | ||
"columnName": "preview", | ||
"affinity": "TEXT", | ||
"notNull": true, | ||
"defaultValue": "''" | ||
}, | ||
{ | ||
"fieldPath": "community", | ||
"columnName": "community", | ||
"affinity": "TEXT", | ||
"notNull": true, | ||
"defaultValue": "''" | ||
}, | ||
{ | ||
"fieldPath": "instance", | ||
"columnName": "instance", | ||
"affinity": "TEXT", | ||
"notNull": true, | ||
"defaultValue": "''" | ||
}, | ||
{ | ||
"fieldPath": "postLink", | ||
"columnName": "post_link", | ||
"affinity": "TEXT", | ||
"notNull": false, | ||
"defaultValue": "NULL" | ||
} | ||
], | ||
"primaryKey": { | ||
"autoGenerate": false, | ||
"columnNames": [ | ||
"id" | ||
] | ||
}, | ||
"indices": [], | ||
"foreignKeys": [] | ||
}, | ||
{ | ||
"tableName": "community", | ||
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`community` TEXT NOT NULL, `instance` TEXT NOT NULL, `icon_url` TEXT, `name` TEXT NOT NULL, PRIMARY KEY(`community`, `instance`))", | ||
"fields": [ | ||
{ | ||
"fieldPath": "id", | ||
"columnName": "community", | ||
"affinity": "TEXT", | ||
"notNull": true | ||
}, | ||
{ | ||
"fieldPath": "instance", | ||
"columnName": "instance", | ||
"affinity": "TEXT", | ||
"notNull": true | ||
}, | ||
{ | ||
"fieldPath": "iconUrl", | ||
"columnName": "icon_url", | ||
"affinity": "TEXT", | ||
"notNull": false | ||
}, | ||
{ | ||
"fieldPath": "name", | ||
"columnName": "name", | ||
"affinity": "TEXT", | ||
"notNull": true | ||
} | ||
], | ||
"primaryKey": { | ||
"autoGenerate": false, | ||
"columnNames": [ | ||
"community", | ||
"instance" | ||
] | ||
}, | ||
"indices": [], | ||
"foreignKeys": [] | ||
} | ||
], | ||
"views": [], | ||
"setupQueries": [ | ||
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", | ||
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '2fe659ff924b9df55352ca23a333dfc9')" | ||
] | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.