Skip to content

Commit 3ca6bd4

Browse files
committed
updated samples
1 parent e644fbd commit 3ca6bd4

File tree

18 files changed

+36
-10
lines changed

18 files changed

+36
-10
lines changed
581 KB
Binary file not shown.
-229 KB
Binary file not shown.
-229 KB
Binary file not shown.

samples/database-v1/src/main/java/com/example/MyDatabase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
public class MyDatabase extends SQLiteAssetHelper {
1111

12-
private static final String DATABASE_NAME = "northwind";
12+
private static final String DATABASE_NAME = "northwind.db";
1313
private static final int DATABASE_VERSION = 1;
1414

1515
public MyDatabase(Context context) {
Binary file not shown.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- nothing
2+
INSERT INTO upgrades VALUES (11, "this;that");
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- nothing
2+
INSERT INTO upgrades VALUES (13, "this;that");
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-- nothing
2+
CREATE TABLE upgrades (version INT, label TEXT);
3+
INSERT INTO upgrades VALUES (9, "this;that");
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- nothing
2+
INSERT INTO upgrades VALUES (10, "this;that");
Binary file not shown.

0 commit comments

Comments
 (0)