Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

Added timestamps in ExampleSettingsSeeder #31

Merged
merged 1 commit into from
Jun 9, 2014
Merged

Added timestamps in ExampleSettingsSeeder #31

merged 1 commit into from
Jun 9, 2014

Conversation

tbergeron
Copy link
Contributor

action@freelance-80648:~/workspace/your-project-name$ php artisan db:seed --class="Davzie\LaravelBootstrap\Seeds\DatabaseSeeder"                                                                                                    
User Table Seeded                                                                                                                                                                                                                   
Seeded: Davzie\LaravelBootstrap\Seeds\ExampleUserSeeder                                                                                                                                                                             



  [Illuminate\Database\QueryException]                                                                                                                                                                                              
  SQLSTATE[23000]: Integrity constraint violation: 19 settings.created_at may not be NULL (SQL: insert into "settings" ("key", "label", "value") values (application_name, Application Name, Savico CMS))                           



db:seed [--class[="..."]] [--database[="..."]]                                                                                                                                                                                      
                                                                                                                                                                                                                                    ```

```
action@freelance-80648:~/workspace/your-project-name$ php artisan db:seed --class="Davzie\LaravelBootstrap\Seeds\DatabaseSeeder"                                                                                                    
User Table Seeded                                                                                                                                                                                                                   
Seeded: Davzie\LaravelBootstrap\Seeds\ExampleUserSeeder                                                                                                                                                                             
                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                    
  [Illuminate\Database\QueryException]                                                                                                                                                                                              
  SQLSTATE[23000]: Integrity constraint violation: 19 settings.created_at may not be NULL (SQL: insert into "settings" ("key", "label", "value") values (application_name, Application Name, Savico CMS))                           
                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                    
db:seed [--class[="..."]] [--database[="..."]]                                                                                                                                                                                      
                                                                                                                                                                                                                                    ```
davzie added a commit that referenced this pull request Jun 9, 2014
Added timestamps in ExampleSettingsSeeder
@davzie davzie merged commit ceb0aa1 into davzie:master Jun 9, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants