Skip to content

Commit

Permalink
v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
peterp committed Apr 15, 2020
1 parent d808b94 commit 63fede8
Show file tree
Hide file tree
Showing 8 changed files with 210 additions and 254 deletions.
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"name": "api",
"version": "0.0.0",
"dependencies": {
"@redwoodjs/api": "^0.4.0"
"@redwoodjs/api": "^0.5.0"
}
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Migration `20191224155928-initial-migration`
# Migration `20200415083240`

This migration has been generated by Peter Pistorius at 12/24/2019, 3:59:28 PM.
This migration has been generated by Peter Pistorius at 4/15/2020, 8:32:40 AM.
You can check out the [state of the schema](./schema.prisma) after the migration.

## Database Steps

```sql
CREATE TABLE "quaint"."Todo" (
"body" TEXT NOT NULL DEFAULT '' ,
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT ,
"status" TEXT NOT NULL DEFAULT 'off'
);
"body" TEXT NOT NULL ,
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
"status" TEXT NOT NULL DEFAULT 'off'
)

CREATE UNIQUE INDEX "quaint"."Todo.body" ON "Todo"("body")
```
Expand All @@ -19,7 +19,7 @@ CREATE UNIQUE INDEX "quaint"."Todo.body" ON "Todo"("body")

```diff
diff --git schema.prisma schema.prisma
migration ..20191224155928-initial-migration
migration ..20200415083240
--- datamodel.dml
+++ datamodel.dml
@@ -1,0 +1,17 @@
Expand All @@ -29,10 +29,10 @@ migration ..20191224155928-initial-migration
+}
+
+generator photonjs {
+ provider = "photonjs"
+ provider = "prisma-client-js"
+}
+
+// Define your own models here and run yarn db:save to create
+// Define your own models here and run `yarn rw db save` to create
+// migrations for them.
+
+model Todo {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ datasource sqlite {
}

generator photonjs {
provider = "photonjs"
provider = "prisma-client-js"
}

// Define your own models here and run yarn db:save to create
// Define your own models here and run `yarn rw db save` to create
// migrations for them.

model Todo {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# IF THERE'S A GIT CONFLICT IN THIS FILE, DON'T SOLVE IT MANUALLY!
# INSTEAD EXECUTE `prisma lift fix`
# lift lockfile v1
# INSTEAD EXECUTE `prisma migrate fix`
# Prisma Migrate lockfile v1
# Read more about conflict resolution here: TODO

20191224155928-initial-migration
20200415083240
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"web"
],
"devDependencies": {
"@redwoodjs/core": "^0.4.0"
"@redwoodjs/core": "^0.5.0"
},
"eslintConfig": {
"extends": "@redwoodjs/eslint-config"
Expand Down
6 changes: 3 additions & 3 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"name": "web",
"version": "0.0.0",
"dependencies": {
"@redwoodjs/web": "^0.4.0",
"@redwoodjs/router": "^0.4.0",
"@redwoodjs/web": "^0.5.0",
"@redwoodjs/router": "^0.5.0",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"styled-components": "^5.0.1"
"styled-components": "^5.1.0"
}
}
Loading

0 comments on commit 63fede8

Please sign in to comment.