From f3fdcffc9b67eada2f0df08b2930f865fbb57b96 Mon Sep 17 00:00:00 2001 From: Naveen Singh Date: Thu, 18 Jul 2024 23:04:27 +0530 Subject: [PATCH] Update .gitignore --- app/.gitignore | 2 + app/build.gradle.kts | 2 +- .../4.json | 140 ------------------ 3 files changed, 3 insertions(+), 141 deletions(-) delete mode 100644 app/schemas/com.simplemobiletools.notes.pro.databases.NotesDatabase/4.json diff --git a/app/.gitignore b/app/.gitignore index 796b96d1..fdc4913f 100644 --- a/app/.gitignore +++ b/app/.gitignore @@ -1 +1,3 @@ /build +/foss/ +/prepaid/ diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 656801b6..c6946d39 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -74,7 +74,7 @@ android { } compileOptions { - val currentJavaVersionFromLibs = JavaVersion.valueOf(libs.versions.app.build.javaVersion.get().toString()) + val currentJavaVersionFromLibs = JavaVersion.valueOf(libs.versions.app.build.javaVersion.get()) sourceCompatibility = currentJavaVersionFromLibs targetCompatibility = currentJavaVersionFromLibs } diff --git a/app/schemas/com.simplemobiletools.notes.pro.databases.NotesDatabase/4.json b/app/schemas/com.simplemobiletools.notes.pro.databases.NotesDatabase/4.json deleted file mode 100644 index 976d803f..00000000 --- a/app/schemas/com.simplemobiletools.notes.pro.databases.NotesDatabase/4.json +++ /dev/null @@ -1,140 +0,0 @@ -{ - "formatVersion": 1, - "database": { - "version": 4, - "identityHash": "e470b6e1411ee6659417cf4dbe54f453", - "entities": [ - { - "tableName": "notes", - "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `title` TEXT NOT NULL, `value` TEXT NOT NULL, `type` INTEGER NOT NULL, `path` TEXT NOT NULL, `protection_type` INTEGER NOT NULL, `protection_hash` TEXT NOT NULL)", - "fields": [ - { - "fieldPath": "id", - "columnName": "id", - "affinity": "INTEGER", - "notNull": false - }, - { - "fieldPath": "title", - "columnName": "title", - "affinity": "TEXT", - "notNull": true - }, - { - "fieldPath": "value", - "columnName": "value", - "affinity": "TEXT", - "notNull": true - }, - { - "fieldPath": "type", - "columnName": "type", - "affinity": "INTEGER", - "notNull": true - }, - { - "fieldPath": "path", - "columnName": "path", - "affinity": "TEXT", - "notNull": true - }, - { - "fieldPath": "protectionType", - "columnName": "protection_type", - "affinity": "INTEGER", - "notNull": true - }, - { - "fieldPath": "protectionHash", - "columnName": "protection_hash", - "affinity": "TEXT", - "notNull": true - } - ], - "primaryKey": { - "autoGenerate": true, - "columnNames": [ - "id" - ] - }, - "indices": [ - { - "name": "index_notes_id", - "unique": true, - "columnNames": [ - "id" - ], - "orders": [], - "createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_notes_id` ON `${TABLE_NAME}` (`id`)" - } - ], - "foreignKeys": [] - }, - { - "tableName": "widgets", - "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `widget_id` INTEGER NOT NULL, `note_id` INTEGER NOT NULL, `widget_bg_color` INTEGER NOT NULL, `widget_text_color` INTEGER NOT NULL, `widget_show_title` INTEGER NOT NULL)", - "fields": [ - { - "fieldPath": "id", - "columnName": "id", - "affinity": "INTEGER", - "notNull": false - }, - { - "fieldPath": "widgetId", - "columnName": "widget_id", - "affinity": "INTEGER", - "notNull": true - }, - { - "fieldPath": "noteId", - "columnName": "note_id", - "affinity": "INTEGER", - "notNull": true - }, - { - "fieldPath": "widgetBgColor", - "columnName": "widget_bg_color", - "affinity": "INTEGER", - "notNull": true - }, - { - "fieldPath": "widgetTextColor", - "columnName": "widget_text_color", - "affinity": "INTEGER", - "notNull": true - }, - { - "fieldPath": "widgetShowTitle", - "columnName": "widget_show_title", - "affinity": "INTEGER", - "notNull": true - } - ], - "primaryKey": { - "autoGenerate": true, - "columnNames": [ - "id" - ] - }, - "indices": [ - { - "name": "index_widgets_widget_id", - "unique": true, - "columnNames": [ - "widget_id" - ], - "orders": [], - "createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_widgets_widget_id` ON `${TABLE_NAME}` (`widget_id`)" - } - ], - "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, 'e470b6e1411ee6659417cf4dbe54f453')" - ] - } -} \ No newline at end of file