Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create Pilot model and add to schema
- Loading branch information
1 parent
1e48ca2
commit 4ca88bd
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import {Model} from "redux-orm"; | ||
|
||
|
||
export default class Pilot extends Model { | ||
|
||
} | ||
|
||
Pilot.modelName = "Pilot"; |