Skip to content

Commit c07c2e1

Browse files
committed
.
1 parent 9df3628 commit c07c2e1

File tree

7 files changed

+34
-7
lines changed

7 files changed

+34
-7
lines changed
Binary file not shown.

SqlCipher4Unity3D/Assets/AssetStoreTools/Editor/AssetStoreTools.dll.meta

Lines changed: 19 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SqlCipher4Unity3D/Assets/SqlCipher4Unity3D/Sqlite3Connection.cs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using UnityEngine;
2-
using System.Collections;
1+
using System.Collections;
32
using System;
43
using System.Collections.Generic;
54
using System.Linq.Expressions;
@@ -236,6 +235,15 @@ public int DropTable<T>()
236235
return Execute (query);
237236
}
238237

238+
public int DropTable(Type t)
239+
{
240+
var map = GetMapping(t);
241+
242+
var query = string.Format("drop table if exists \"{0}\"", map.TableName);
243+
244+
return Execute(query);
245+
}
246+
239247
/// <summary>
240248
/// Executes a "create table if not exists" on the database. It also
241249
/// creates any specified indexes on the columns of the table. It uses

SqlCipher4Unity3D/Assets/SqlCipher4Unity3D/Sqlite3Define.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using UnityEngine;
2-
using System.Collections;
1+
using System.Collections;
32
using System;
43
using System.Collections.Generic;
54
using System.Linq;
-10.1 KB
Binary file not shown.
-8.61 KB
Binary file not shown.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"dependencies": {
3+
}
4+
}

0 commit comments

Comments
 (0)