Skip to content

Commit bbee58d

Browse files
committed
Document the command
1 parent f74720d commit bbee58d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/resources.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ title: Resources
66

77
For each of the Eloquent models you wish to use with Runway, you’ll need to define a ‘resource’.
88

9-
A resource basically tells Runway about the model and how you’d like it to be configured - which blueprint to use, whether or not it should be manageable in the CP, etc.
9+
A resource basically tells Runway about the model and how you’d like it to be configured - which blueprint to use, whether it should be manageable in the CP, etc.
1010

1111
## Defining resources
1212

13-
You can define resources inside of the configuration file published during installation. It’s located in `config/runway.php`.
13+
You can define resources inside the configuration file published during installation. It’s located in `config/runway.php`.
1414

1515
```php
1616
<?php
@@ -58,6 +58,10 @@ class Order extends Model
5858

5959
Finally, you can start adding fields to your resource's blueprint. To learn more about using Blueprints in Runway, please review the [Blueprints](/blueprints) page.
6060

61+
:::tip Hot Tip
62+
If you're moving a collection to the database, use the `php please runway:import-collection` command. It'll help you set up everything you need, including moving your entries to the database.
63+
:::
64+
6165
## Configuring resources
6266

6367
There’s about a dozen configuration options available for resources, they are all documented below.

0 commit comments

Comments
 (0)