PHP Method Schema::delete, someline-starter Code Examples

This page contains top rated real world PHP examples of method Schema::delete from package someline-starter extracted from open source projects. You can rate examples to help us improve the quality of examples
Example #1
Show file File: 2016_02_13_025810_add_tasks_table.php Project: james2doyle/long-polling-example
0
 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::delete('tasks');
 }
Example #2
Show file File: SchemaTest.php Project: cebe/chive
0
 /**
  * Tests to delete a database which is new.
  *
  * @expectedException CDbException
  */
 public function testDeleteNew()
 {
     // Create new schema
     $schema = new Schema(array('SCHEMA_NAME' => 'schematest1'));
     // Call delete -> Exception should be thrown.
     $schema->delete();
 }