app/schemas/ch.epfl.sweng.studdybuddy.sql.SqlDB/1.json
{
"formatVersion": 1,
"database": {
"version": 1,
"identityHash": "e777497b0f0cdd5e66ca3595f2117e67",
"entities": [
{
"tableName": "User",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`name` TEXT, `userID` TEXT NOT NULL, `favoriteLocation` TEXT, `favoriteLanguage` TEXT, PRIMARY KEY(`userID`))",
"fields": [
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "userID",
"columnName": "userID",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "favoriteLocation",
"columnName": "favoriteLocation",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "favoriteLanguage",
"columnName": "favoriteLanguage",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
"columnNames": [
"userID"
],
"autoGenerate": false
},
"indices": [],
"foreignKeys": []
}
],
"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, \"e777497b0f0cdd5e66ca3595f2117e67\")"
]
}
}