Skip to content

Commit

Permalink
Add initial Redux-ORM Pilot model
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson committed Oct 22, 2017
1 parent efacb84 commit decdbea
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/orm.js
@@ -1,5 +1,9 @@
import {ORM} from "redux-orm";

import Pilot from "features/pilots/Pilot";

const orm = new ORM();

orm.register(Pilot);

export default orm;
6 changes: 6 additions & 0 deletions src/features/pilots/Pilot.js
@@ -0,0 +1,6 @@
import {Model} from "redux-orm";


export default class Pilot extends Model {
static modelName = "Pilot";
}

0 comments on commit decdbea

Please sign in to comment.