Skip to content

Commit

Permalink
Update README.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
manyuanrong committed Mar 10, 2019
1 parent efd3f9a commit 0a74e85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.MD
Expand Up @@ -7,8 +7,8 @@
### Example

```ts
const * as orm, { FieldTypes } from "https://deno.land/x/dso/mod.ts";
// const * as orm, { FieldTypes } from "https://raw.githubusercontent.com/manyuanrong/dso/master/mod.ts";
// const * as orm, { FieldTypes } from "https://deno.land/x/dso/mod.ts";
const * as orm, { FieldTypes } from "https://raw.githubusercontent.com/manyuanrong/dso/master/mod.ts";

// Define a database model
const User = orm.define("users", {
Expand Down Expand Up @@ -114,4 +114,4 @@ Field type describes the following properties of a field
| default | any | null | default values for fields |
| autoIncrement | boolean | false | identify auto-increment fields. It can only be used for INT types |
| notNull | boolean | false | identity fields can not be null |
| autoUpdate | boolean | false | updated automatically according to the current timestamp. It can only be used for DATE types |
| autoUpdate | boolean | false | updated automatically according to the current timestamp. It can only be used for DATE types |

0 comments on commit 0a74e85

Please sign in to comment.