Skip to content

Instantly share code, notes, and snippets.

@motorro
Created March 12, 2020 10:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save motorro/98dea393e01a6781b50f81ceffdf47c9 to your computer and use it in GitHub Desktop.
Save motorro/98dea393e01a6781b50f81ceffdf47c9 to your computer and use it in GitHub Desktop.
Exported Room schema
{
"formatVersion": 1,
"database": {
"version": 1,
"identityHash": "24b13f284eb850e47c2ef1e44a4d559c",
"entities": [
{
"tableName": "cities",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}`...",
"fields": [
],
"primaryKey": {
"columnNames": [
"id"
],
"autoGenerate": false
},
"indices": [],
"foreignKeys": []
}
],
"views": [],
"setupQueries": [
"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, '24b13f284eb850e47c2ef1e44a4d559c')"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment