Skip to content

Commit

Permalink
Create Pilot model and add to schema
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson committed Dec 11, 2016
1 parent 1e48ca2 commit 4ca88bd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/schema/schema.js
@@ -1,5 +1,8 @@
import {Schema} from "redux-orm";

import Pilot from "features/pilots/Pilot";

const schema = new Schema();
schema.register(Pilot);

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


export default class Pilot extends Model {

}

Pilot.modelName = "Pilot";

0 comments on commit 4ca88bd

Please sign in to comment.