public function test_generate_table_without_primary_key()
 {
     $tableDefinition = new Ruckusing_Adapter_Sqlite3_TableDefinition($this->adapter, "users", array('id' => false));
     $tableDefinition->column("first_name", "string");
     $tableDefinition->column("last_name", "string", array('limit' => 32));
     $tableDefinition->finish();
     $column = $this->adapter->column_info("users", "id");
     $this->assertEquals(array(), $column);
     $primary_keys = $this->adapter->primary_keys('users');
     $this->assertEquals(array(), $primary_keys);
 }
 public function test_custom_primary_key_1()
 {
     $this->drop_table('users');
     $t1 = new Ruckusing_Adapter_Sqlite3_TableDefinition($this->adapter, "users", array('id' => true));
     $t1->column("user_id", "integer", array("primary_key" => true));
     $t1->finish(true);
     $this->drop_table('users');
 }