 Learning LaravelChapter 17: Database Migrations 55 Examples 55 Migrations 55 The migration files 56 Generating migration files 56 Inside a database migration 57 Running migrations 58 Rolling Back Migrations 58 Chapter Laravel offers its own ORM with a large set of functions to work with. The framework also provides migration and seeding and also features rollbacks. Event Handling The framework is capable of handling Flush expired password reset tokens cache:clear Flush the application cache cache:table Create a migration for the cache database table config:cache Create a cache file for faster configuration loading0 码力 | 216 页 | 1.58 MB | 1 年前3 Learning LaravelChapter 17: Database Migrations 55 Examples 55 Migrations 55 The migration files 56 Generating migration files 56 Inside a database migration 57 Running migrations 58 Rolling Back Migrations 58 Chapter Laravel offers its own ORM with a large set of functions to work with. The framework also provides migration and seeding and also features rollbacks. Event Handling The framework is capable of handling Flush expired password reset tokens cache:clear Flush the application cache cache:table Create a migration for the cache database table config:cache Create a cache file for faster configuration loading0 码力 | 216 页 | 1.58 MB | 1 年前3
 CakePHP Cookbook 3.x
Action 3.x Migration Guide 3.10 Migration Guide 3.10 Migration Guide 3.9 Migration Guide 3.9 Migration Guide 3.8 Migration Guide 3.8 Migration Guide 3.7 Migration Guide 3.7 Migration Guide 3.6 6 Migration Guide 3.6 Migration Guide 3.5 Migration Guide 3.5 Migration Guide 3.4 Migration Guide 3.4 Migration Guide 3.3 Migration Guide 3.3 Migration Guide 3.2 Migration Guide 3.2 Migration Guide Guide 3.1 Migration Guide 3.1 Migration Guide 3.0 Migration Guide 3.0 Migration Guide New ORM Upgrade Guide Tutorials & Examples Content Management Tutorial Getting CakePHP Checking our Installation0 码力 | 1244 页 | 1.05 MB | 1 年前3 CakePHP Cookbook 3.x
Action 3.x Migration Guide 3.10 Migration Guide 3.10 Migration Guide 3.9 Migration Guide 3.9 Migration Guide 3.8 Migration Guide 3.8 Migration Guide 3.7 Migration Guide 3.7 Migration Guide 3.6 6 Migration Guide 3.6 Migration Guide 3.5 Migration Guide 3.5 Migration Guide 3.4 Migration Guide 3.4 Migration Guide 3.3 Migration Guide 3.3 Migration Guide 3.2 Migration Guide 3.2 Migration Guide Guide 3.1 Migration Guide 3.1 Migration Guide 3.0 Migration Guide 3.0 Migration Guide New ORM Upgrade Guide Tutorials & Examples Content Management Tutorial Getting CakePHP Checking our Installation0 码力 | 1244 页 | 1.05 MB | 1 年前3
 CakePHP Cookbook 3.x
. . . . . . . 18 3 3.x Migration Guide 29 3.10 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.9 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . 30 3.8 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 3.7 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 3.6 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 3.5 Migration Guide . . . . . . . . . . . . . . .0 码力 | 967 页 | 2.80 MB | 1 年前3 CakePHP Cookbook 3.x
. . . . . . . 18 3 3.x Migration Guide 29 3.10 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.9 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . 30 3.8 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 3.7 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 3.6 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 3.5 Migration Guide . . . . . . . . . . . . . . .0 码力 | 967 页 | 2.80 MB | 1 年前3
 CakePHP Cookbook 2.x
Guide Migration Guides Using CakePHP Working on CakePHP CakePHP Development Process Appendices 2.10 Migration Guide 2.10 Migration Guide 2.9 Migration Guide 2.9 Migration Guide 2.8 Migration Guide Guide 2.8 Migration Guide 2.7 Migration Guide 2.7 Migration Guide 2.6 Migration Guide 2.6 Migration Guide 2.5 Migration Guide 2.5 Migration Guide 2.4 Migration Guide 2.4 Migration Guide 2.3 Migration Migration Guide 2.3 Migration Guide 2.2 Migration Guide 2.2 Migration Guide 2.1 Migration Guide 2.1 Migration Guide New Features in CakePHP 2.1 2.0 Migration Guide 2.0 Migration Guide New Features in0 码力 | 1096 页 | 958.62 KB | 1 年前3 CakePHP Cookbook 2.x
Guide Migration Guides Using CakePHP Working on CakePHP CakePHP Development Process Appendices 2.10 Migration Guide 2.10 Migration Guide 2.9 Migration Guide 2.9 Migration Guide 2.8 Migration Guide Guide 2.8 Migration Guide 2.7 Migration Guide 2.7 Migration Guide 2.6 Migration Guide 2.6 Migration Guide 2.5 Migration Guide 2.5 Migration Guide 2.4 Migration Guide 2.4 Migration Guide 2.3 Migration Migration Guide 2.3 Migration Guide 2.2 Migration Guide 2.2 Migration Guide 2.1 Migration Guide 2.1 Migration Guide New Features in CakePHP 2.1 2.0 Migration Guide 2.0 Migration Guide New Features in0 码力 | 1096 页 | 958.62 KB | 1 年前3
 CakePHP Cookbook 2.x
. . . . 707 14 Appendices 709 2.10 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 709 2.9 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 710 2.8 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 711 2.7 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 713 2.6 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 715 2.5 Migration Guide . . . . . . . . . . . . . . .0 码力 | 820 页 | 2.52 MB | 1 年前3 CakePHP Cookbook 2.x
. . . . 707 14 Appendices 709 2.10 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 709 2.9 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 710 2.8 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 711 2.7 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 713 2.6 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 715 2.5 Migration Guide . . . . . . . . . . . . . . .0 码力 | 820 页 | 2.52 MB | 1 年前3
 Laravel 5.0 Documentation
corresponding views, which are located at resources/views/auth . In addition, a "users" table migration has been included with the framework. Including these simple resources allows rapid development using simple "Next" and "Previous" links in your pagination view. In production, destructive migration operations will now ask for confirmation. Commands may be forced to run without any prompts using the documentation. Soft Deleting Traits Convenient Auth & Remindable Traits "Simple Paginate" Migration Confirmation Laravel 4.1 Full Change List New SSH Component Boris In Tinker Eloquent Improvements0 码力 | 242 页 | 1.44 MB | 1 年前3 Laravel 5.0 Documentation
corresponding views, which are located at resources/views/auth . In addition, a "users" table migration has been included with the framework. Including these simple resources allows rapid development using simple "Next" and "Previous" links in your pagination view. In production, destructive migration operations will now ask for confirmation. Commands may be forced to run without any prompts using the documentation. Soft Deleting Traits Convenient Auth & Remindable Traits "Simple Paginate" Migration Confirmation Laravel 4.1 Full Change List New SSH Component Boris In Tinker Eloquent Improvements0 码力 | 242 页 | 1.44 MB | 1 年前3
 The Laravel Handbook
automatically create a SQLite database in database/database.sqlite the first time you run a migration. 6. How to use migrations to create and modify the database schema Migrations are excellent for server and run this command to create a new migration, which is what we will use to create the database table(s) we need to use: php artisan make:migration initial_table_creation 23 This command created But let’s focus on creating a new table, let’s call it dogs . Go in the up() function of the migration we creataed. Let’s create a dogs table with 3 columns, an id , a name string and the timestamp0 码力 | 111 页 | 14.25 MB | 1 年前3 The Laravel Handbook
automatically create a SQLite database in database/database.sqlite the first time you run a migration. 6. How to use migrations to create and modify the database schema Migrations are excellent for server and run this command to create a new migration, which is what we will use to create the database table(s) we need to use: php artisan make:migration initial_table_creation 23 This command created But let’s focus on creating a new table, let’s call it dogs . Go in the up() function of the migration we creataed. Let’s create a dogs table with 3 columns, an id , a name string and the timestamp0 码力 | 111 页 | 14.25 MB | 1 年前3
 CakePHP Cookbook 4.x
. . . . . . . . . 21 3 Migration Guides 31 4.0 Upgrade Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 4.0 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . 33 4.1 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 4.2 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 4.3 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 4.4 Migration Guide . . . . . . . . . . . . . . .0 码力 | 967 页 | 2.88 MB | 1 年前3 CakePHP Cookbook 4.x
. . . . . . . . . 21 3 Migration Guides 31 4.0 Upgrade Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 4.0 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . 33 4.1 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 4.2 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 4.3 Migration Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 4.4 Migration Guide . . . . . . . . . . . . . . .0 码力 | 967 页 | 2.88 MB | 1 年前3
 CakePHP Cookbook 4.x
Articles Add Delete Action Migration Guides 4.0 Upgrade Guide Fix Deprecation Warnings Upgrade to PHP 8.0 Use the Upgrade Tool Update CakePHP Dependency Application.php 4.0 Migration Guide Deprecated Features 4.1 Migration Guide Upgrading to 4.1.0 Deprecations Behavior Changes New Features 4.2 Migration Guide Upgrading to 4.2.0 Deprecations Behavior Changes Breaking Changes New Features 4.3 Migration Guide Deprecations Behavior Changes Breaking Changes New Features 4.4 Migration Guide Upgrading to 4.4.0 Deprecations Behavior Changes New Features 4.5 Migration Guide Upgrading to 4.5.0 Deprecations New Features Tutorials0 码力 | 1249 页 | 1.04 MB | 1 年前3 CakePHP Cookbook 4.x
Articles Add Delete Action Migration Guides 4.0 Upgrade Guide Fix Deprecation Warnings Upgrade to PHP 8.0 Use the Upgrade Tool Update CakePHP Dependency Application.php 4.0 Migration Guide Deprecated Features 4.1 Migration Guide Upgrading to 4.1.0 Deprecations Behavior Changes New Features 4.2 Migration Guide Upgrading to 4.2.0 Deprecations Behavior Changes Breaking Changes New Features 4.3 Migration Guide Deprecations Behavior Changes Breaking Changes New Features 4.4 Migration Guide Upgrading to 4.4.0 Deprecations Behavior Changes New Features 4.5 Migration Guide Upgrading to 4.5.0 Deprecations New Features Tutorials0 码力 | 1249 页 | 1.04 MB | 1 年前3
 Laravel 3.2 Documentationloading from bundles.  Fixes double-loading of classes when overriding the core.  Classify migration names. 8 Upgrading From 3.1.6  Replace the laravel folder. Laravel 3.1.6  Fixes that have a constructor. Prefix Laravel migration created indexes with their table name. If you have created indexes on tables using the Laravel migration system and you used to the default index looks like this: Creating a migration php artisan migrate:make create_users_table Now, check your application/migrations folder. You should see your brand new migration! Notice that it also contains0 码力 | 139 页 | 1.13 MB | 1 年前3 Laravel 3.2 Documentationloading from bundles.  Fixes double-loading of classes when overriding the core.  Classify migration names. 8 Upgrading From 3.1.6  Replace the laravel folder. Laravel 3.1.6  Fixes that have a constructor. Prefix Laravel migration created indexes with their table name. If you have created indexes on tables using the Laravel migration system and you used to the default index looks like this: Creating a migration php artisan migrate:make create_users_table Now, check your application/migrations folder. You should see your brand new migration! Notice that it also contains0 码力 | 139 页 | 1.13 MB | 1 年前3
共 43 条
- 1
- 2
- 3
- 4
- 5














