Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function up() {
- $runafterupdate = [];
- Schema::connection('exitproducts')->create('exitcontrol_carmanager_manager', function($table)
- {
- $table->engine = 'InnoDB';
- $table->increments('id');
- $table->string('code');
- $runafterupdate['code'] = true;
- $table->timestamps();
- });
- }
- if(isset($runafterupdate['code'])) {
- echo "it worked!";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement